Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Remove the full screen button?

16 replies [Last post]

Ok so heres the code i've used

<embed
src="player.swf"
width="250"
height="20"
bgcolor="undefined"
allowscriptaccess="always"
<strong>allowfullscreen="false"</strong>
flashvars="&file=mysong.mp3"
/>

For some reason it still shows the fullscreen button though, all my false has done is make it none clickable. But its still there! lol
How do i remove that button so it doesnt show up any more?

<embed
src="player.swf"
width="250"
height="20"
bgcolor="undefined"
allowscriptaccess="always"
allowfullscreen="false"
flashvars="file=mysong.mp3<strong>&fullscreen=false</strong>"
/>

allowfullscreen is a parameter for the Adobe Flash Player.
fullscreen is a flashvar for the JW FLV Media Player.

Both are required to prevent the fullscreen mode from working, but you can get away with just fullscreen=false if all you want to do is get rid of the button.

Ah ok
Thanks kLink

Heres what im using now...

<embed
src="player.swf"
width="250"
height="20"
bgcolor="0099ff"
allowscriptaccess="never"
allowfullscreen="false"
flashvars="file=mysong.mp3&fullscreen=false"
/>

But im stilling seeing the fullscreen button :S

Your code's good.

Upon further testing, the fullscreen=false doesn't work in any of the v4.1.x players that I have. I had to go back to v4.0.49 to get the fullscreen button to disappear.

Damn, so its not possible to do it in the newer player?
I'll try replacing my player with an older version and see how that goes.

Could you send me the version you have? (the one its working with)
My only other version I have is v3.x

Go here: http://code.longtailvideo.com/trac/

Click on the box: Browse Source

Click on: trunk

In the: as3 row, in the: rev column, click on the number (it's 60 right now)

In the: rev column, click on: @49

Click on: player.swf

Click on: download (that will be a v4.0.48 player)

Thanks, it works perfect now :D

That's Great!

@klink

How about that little link button that sits immediately to the left of the fullscreen button on the new 4.1 player?

I tried link=false and link=none as flashvars but no change.

Here's my test page: http://www.miorganichomebiz.com/audio/

@Dan,

You probably have to "disappear" :) the link button with some skinning.

@kLink

ok, thanks for the feedback kLink.

2 quick questions:

1) am I right in assuming that the 'link' flashvar refers to that little link button that sits immediately to the left of the fullscreen button on the new 4.1 player?

2) do you think JW will make that button and the fullscreen button removable with flashvars in a future version of the player?

Thanks
Dan.

1) yes, looks like a couple of links of a chain

2) no clue

i have spvod player and i want disible double click on screen i mean full screen how can i do

would be nice if a dev could comment on question 2 from dan.
without the fullscreen buttons removed, fullscreen=false isn't really usefull right now and i would like to use it, onice its working as intended again.

removing the fullscreen part from the skin file will do some help