leekafai / f4player

Automatically exported from code.google.com/p/f4player
1 stars 0 forks source link

No fullscreen button without swiff #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've a problem for show the fullscreen button, the button don't show.

My embed code:

     <div id="inici_player" class="player">
        <object width="480" height="300" id="f4Player"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"> 
        <param name="movie" value="player4.swf?alpha" /> 
        <param name="quality" value="high" /> 
        <param name="menu" value="false" /> 
        <param name="wmode" value="window" />   
        <param name="allowFullScreen" value="true" /> 
        <param name="scale" value="noscale" /> 
        <param name="allowScriptAccess" value="always" />
        <param name="swLiveConnect" value="true" />
        <param name="flashVars" value="
            skin=skins%2Fdefault.swf
            &thumbnail=video-thumbnail.jpg
            &video=flv2.flv
            &autoplay=1
            "/>
        <!--[if !IE]> <--> 
        <object width="480" height="300" data="player4.swf?alpha"
type="application/x-shockwave-flash" id="f4Player">
        <param name="quality" value="high" /> 
        <param name="menu" value="false" />
        <param name="wmode" value="window" />       
        <param name="allowFullScreen" value="true" /> 

        <param name="scale" value="noscale" />
        <param name="allowScriptAccess" value="always" />
        <param name="swLiveConnect" value="true" />
        <param name="flashVars" value="
            skin=skins%2Fdefault.swf
            &thumbnail=video-thumbnail.jpg
            &video=flv2.flv
            &autoplay=1
            &allowFullScreen=true
            "/>
        </object> 
         <![endif]--> 
        </object>
    </div>

Original issue reported on code.google.com by enric.fu...@gmail.com on 19 May 2010 at 8:33

GoogleCodeExporter commented 8 years ago
Try adding &fullscreen=true
...
<param name="flashVars" value="
            skin=skins%2Fdefault.swf
            &thumbnail=video-thumbnail.jpg
            &video=flv2.flv
            &autoplay=1
                        &fullscreen=true
            "/>

allowFullScreen is a Flash security settings which allows flash movies to enter 
full screen. f4player also has a set-able parameter called 'fullscreen' as well.

Original comment by nij...@gmail.com on 18 Jul 2010 at 4:11