i believe the source code for some of the popular FLV players such as the JW Player and Flowplayer is available and viewable online. otherwise, i can only suggest the Flash documentation.
On Mon, Feb 9, 2009 at 11:25 AM, g <[email protected]> wrote: > > thanks...i thought that might be the case. i know this isn't relevant > to this forum, but any idea where i can find the actionscript to do > this? > > On Feb 9, 1:13 pm, Philip Hutchison <[email protected]> wrote: > > detecting video display ratio is something that needs to be handled by > > actionscript in the FLV player SWF. > > > > also, swfobject only sets the size when the initial embed is performed; > if > > you need to resize the SWF *after* it has been embedded, you'll need to > use > > JavaScript to perform the DOM manipulation (or actionscript if your SWF > uses > > 100% of the browser window) > > > > hope that helps > > - philip > > > > > > > > On Mon, Feb 9, 2009 at 10:00 AM, g <[email protected]> wrote: > > > > > i'm trying to use one player to load both 16:9 and 4:3 videos. is > > > there a way using the SWFObject script to detect the aspect ratio of > > > the flv file and keep 4:3 from stretching to fit the 16:9 player? > > > > > thanks- Hide quoted text - > > > > - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
