PDA

View Full Version : [AS3] flv playback componet not going fullscreen.


sebos
10-01-2008, 01:50 AM
Hi, I don't use the flv component so often and doing a simple test I noticed the fullscreen button is not working. It's working in flash player when i open the swf but not in firefox or ie when i open the html OR the swf. Any clue?

sebos
10-01-2008, 06:24 PM
ok I got my answer in the flash help :

To enable full-screen mode, in the <object> and <embed> tags in the HTML page that contains a reference to the SWF file, add the allowFullScreen parameter, with its value set to "true" (the default value is "false"), as shown in the following example:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0"
width="600" height="400" id="test" align="middle">
<param name="allowFullScreen" value="true" />
<param name="movie" value="test.swf" />
<param name="bgcolor" value="#333333" />
<embed src="test.swf" allowFullScreen="true" bgcolor="#333333"
width="600" height="400"
name="test" align="middle" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

I hope this can help.

ciel_tea
11-10-2008, 06:19 AM
was having this same problem with getting enterFullScreenMode to work in my browser, then used your tip and there it came. thanks so much(!)