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

Comments

Stuart Greenfield’s picture

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.

vanderlip’s picture

Stuart - Thanks a lot for the short term fix and a long term solution. Great module. Thanks.

vanderlip’s picture

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.

Stuart Greenfield’s picture

Status: Active » Needs review

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.

vanderlip’s picture

Brilliant! Works perfectly. Thanks a lot.

Stuart Greenfield’s picture

Status: Needs review » Fixed

Released in SWF Tools 6.x-2.5.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jrivelli’s picture

I am confused as to where I change this at? I have not figured out how to change the flowplayer size. Please assists, thank you! great module by the way :)

Naiya’s picture

we can change the size here: admin/settings/swftools/flowplayer3

but how can i change the size conditionally? i use flowplayer to view video and mp3 (i have two types defined, using cck fields). i want to show ONLY controlbar on sites where i use mp3. is there such posibility?

bevin’s picture

I take the hard code in flowplayer.css, it will consist on every video page when class=flowplayer
So the code in flowplayer.css should be like this:

.flowplayer {
display: block;
width: 640px;
height: 480px;
}

just change the width and height as you request