Changing Flowplayer Canvas Size
vanderlip - March 23, 2009 - 19:58
| Project: | SWF Tools |
| Version: | 6.x-2.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Where is the correct place to change the size of the flow player canvas? It appears that it defaults to Width=500 and Height=375. Tried Firebug, but can't seem to find the right file in which to change it.
Thanks

#1
It looks like I forgot to add this as a setting on the settings page. If you're using the input filter or PHP to generate the player then you can set height and width by passing height and width parameters.
I'll make a note to add this as a setting to the config page so that if you're rendering players automatically without the filter you can set a new default.
#2
Stuart - Thanks a lot for the short term fix and a long term solution. Great module. Thanks.
#3
I am not using the input filter or PHP to generate the player. I am using CCK. Is there a place in the SWF or Flowplayer module code where I can change the canvas size until you get the chance to incorporate this into config page? I tried changing it in the flowplayer3.module file, but changing width and height there seem to have no effect. Thanks.
#4
I added this as a setting on the canvas settings, and just commited the change on DRUPAL-6--2 if you want to test it. I have a few other fixes to make before making the next release.
#5
Brilliant! Works perfectly. Thanks a lot.
#6
Released in SWF Tools 6.x-2.5.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.