I can't hide the full screen control when Streaming MP3 files. When I am not streaming this works fine. Has anyone else run into this?
Thanks
Dan

I can't hide the full screen control when Streaming MP3 files. When I am not streaming this works fine. Has anyone else run into this?
Thanks
Dan

@cristi
please have a look at the [url=http://www.jeroenwijering.com/extras/wizard.html]wizard[/url] and the [url=http://www.jeroenwijering.com/extras/readme.html]readme[/url]

yes I've looked at it but in my case it doesn't work.
I need to add those flashvars inside this string:
<a href="flvplayer.swf?file=movie.flv" rel="vidbox 425 350" title="caption"><img src="image.jpg" width="225" height="168" /></a>
and I don't know how to do that.
If I add allowfulscreen="true" or autostart="true" in the string, it doesn't work. Maybe you could give me a hint.
Thanks

Also you could take a look at www.metalbuzz.com to know what I'm talking about. You'll see that fullscreen option doesn't work.
Thanks

@cristi
it is not so much the fullscreen that is not working, as the highly unusual syntax that you want to use that doesnt cater for your whishes...
as the readme states: "Also make sure you have the parameter "allowfullscreen" set to "true" in your embed code!"
that is usually done in the swfobject like this: addParam("allowfullscreen","true");
while it IS possible to pass flashvars in a link, it is apparently NOT possible to pass parameters in a link!
this for instance actually works:
<a href="http://www.metalbuzz.com/video/flvplayer.swf?file=What is love.flv&largecontrols=true"...
but this will NOT work:
<a href="http://www.metalbuzz.com/video/flvplayer.swf?file=What is love.flv&allowfullscreen=true"...
this has to with the way that adobe has implemented the fullscreen functionallity and can not be changed at the present.
BUT - all hope is not out!
i have looked up the javascripts that you want to use along with the player, and i am reasonably sure, that you CAN use them in a way that is not inconsistant with the requirements for embedding a fullscreen swf.
i imagine, that if you embed the player using the more conventional methods, that you can then call the methods of the mootools/videobox from the picture links instead of the player directly.
this will most probably require some experimenting and reading of readmes though, but seems quite viable, if not completely unproblematic, to me -
a googling of the scripts bring up not to few pages that discuss various implementation aspects, and the [url=http://demos.mootools.net/]mootools[/url] homepage is huge and has a forum with many examples also.
i can suggest you divide your task in two: how to use mootools - and how to use the player. and only combine the two, when you have a test page of each that works...

@andersen,
As you stated above, you can pass variables ( flashvars ) but not paramaters in a URL.
There is a simple way to achieve what cristi wants to do without altering the methods that she is using.
That is to add "this.addParam("allowfullscreen",true);" to "swfobject.js".
The only drawback is that the parameter is set permanently, but that shouldn't affect what she is trying to do.
@cristi,
You can open "swfobject.js" with a text editor (notepad, wordpad) and find "this.addParam("quality",q);this.setAttribute("useExpressInstall",false);" then, in the middle, after the semicolon, add this "this.addParam("allowfullscreen",true);" without the double quotes.
It will look like this when you are done ""this.addParam("quality",q);this.addParam("allowfullscreen",true);this.setAttribute("useExpressInstall",false);"
Save and close "swfobject.js".
Reload your page and the fullscreen button should work. You may have to clear your browser's cache or do a forced reload (hold "shift" and click on the reload icon) for the new swfobject.js to be loaded.
I have tested this on my server and confirmed that the fullscreen button works with the modified swfobject.js.
If you don't feel comfortable modifying "swfobject.js", I can send you a modified one. But, it's just a text file and you can't mess it up. Anyway, you can always download a new one and try again.
Please post back here with the results or if you need more help.

@will
thanks Will, point noted, i didnt think that far.

@andersen,
It was kind of a "Last Desperate Measure" for me!
I tried everything I could think of and find with Google to pass parameters - just can't be done. I wasn't sure if the "allowfullscreen" would "stick" when the new URL was called, but testing confirmed that the full screen button worked, so I don't need to know any more.

After struggling and finally getting the (nowadays) "old" fullscreen functionality to work, I am a bit disappointed to see it broken in 3.8...
As fullscreenmode=true doesn't work any longer, I now figure that I have to set the displayHeight to the height of the player to get the controls in the right place, and set the fsbuttonlink from the fullscreen-page to the page it should return to.
Correct?
I am still struggling on this. Why not make it backwards compatible? Far from everybody has Flash's fullscreen feature...

Quest can post
connect to Xml
http://tapchiamnhac.net/forum/quatang/addlink.php
to
http://tapchiamnhac.net/forum/quatang/playlist.xml

i want script here :http://tapchiamnhac.net/forum/quatang/

me.too

Hi, IT WORKS FOR ME : REMOVE WMODE
It's just to tell you that MariusZ was right !
You have to notice that when you embed your flash player with parameter wmode set to "transparent" than native Flash 9.0.28 fullscreen option will NOT WORK.
Change to wmode to other option or do not set it at all.

Hello!
I'm trying to make full screen mode to work using the <embed/> tag (an example: http://www.astro.physik.uni-goettingen.de/~bruno/APOD/apod.html ). The main problem I have is that, although I set "allowfullscreen" and "usefullscreen" to "true", I (still) can't get full screen functionality - in IE and Mozilla the full screen button shows, but when I click it nothing happens...
Any ideas?
Thanks!

@Bogdan,
allowfullscreen is a parameter, not a flashvar, so in embed code it would look like this: allowfullscreen="true"
More specifically, in your code:
<embed src="http://www.astro.physik.uni-goettingen.de/~bruno/APOD/flvplayer.swf" width="584" height="428"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowfullscreen="true"
flashvars="file=http://www.astro.physik.uni-goettingen.de/outreach/APOD/cont.flv&displayheight=428&image=http://www.astro.physik.uni-goettingen.de/~bruno/APOD/cont000.jpg" />But since you can run javascript, why don't you convert to using javascript and swfobject.js?
Your application would look like this:
In the <head> section:
<script type="text/javascript" src="swfobject.js">
</script>In place of your embed code:
<div id="player1"> <!-- Note that the other player would be "player2" -->
<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a>
to see this player.
</div>
<script type="text/javascript">
var s1 = new SWFObject('http://www.astro.physik.uni-goettingen.de/~bruno/APOD/flvplayer.swf', 'play1', '584', '428', '7');
s1.addParam('allowfullscreen', 'true');
s1.addVariable('width', '584');
s1.addVariable('height', '428');
s1.addVariable('displayheight', '428');
s1.addVariable('image', 'image=http://www.astro.physik.uni-goettingen.de/~bruno/APOD/cont000.jpg');
s1.addVariable('file', 'http://www.astro.physik.uni-goettingen.de/outreach/APOD/cont.flv');
s1.write('player1'); <!-- Note that the other player would be "player2" -->
</script>

@Will,
Thank you very much for your reply, in the meantime I discovered that I should put "allowfullscreen" as a parameter, and now it works :)
I prefer not to use JavaScript code, due to some incompatibilities between various browsers. But I will try the SWFObject solution also.
Regards,
Bogdan

Re: Image smoothing in fullscreen mode. I used to have ver. 3.5 and the fullscreen mode smoothed the screen images wonderfully. In ver. 3.8 I noticed that the smoothing is no longer there, so the image details look more coarse in fullscreen mode. Is there a way to get the wonderful smoothness of ver. 3.5 into the latest version?

@G. Wolfgang,
See this thread (and others - search "smooth") [url=http://www.jeroenwijering.com/?thread=5969]Quality setting in 3.8 video player[/url].


I added allowfullscreen:"true" and still the button does nothing in IE or FF, however the test page here works fine.
Here's the page:
http://www.truckblog.com/video/corr_june_2007
Running the latest, 3.8.
Any ideas? Thanks!

WOW! It would take me about 2 days to sort through that page.
Here's what I've seen recently. When a page has many other JavaScript functions, the parameter 'allowfullscreen' gets blocked by some other function and never makes it to the Adobe Flash plugin. If you were using "swfobject.js", I would recommend using this modified version of "swfobject.js" that I posted here [url=http://www.jeroenwijering.com/?thread=6065]fullscreen bug[/url], that makes 'allowfullscreen', 'true' permanent or fixed (can't be changed later in the page code).
So, switch to swfobject.js OR modify ufo.js OR make a simple test page that works and then add in the other JavaScript functions until it breaks.

JeroenW, do you have any ideas for my full screen problem at Truckblog?

Can someone tell me (yes or no) if it is possible to remove the "full screen button" from the player altogether? I removed the "loop button" by using this code:
showLoopButton: false
but I can't figure out how to do the same thing with the "full screen button". Any help would be appreciated. Thanks.

Hmm... I tried:
showFullScreenButton: false
Now, that worked to remove the "full screen button", but it also shortened the length of my timeline? Any ideas on why that happened or possible fixes?

@Chris: have you forgotten the "allowfullscreen=true" parameter in your HTMl embed code?
@Kevin: have a look at the [url=http://www.jeroenwijering.com/extras/wizard.html]setup wizard[/url] to find the correct set of flashvars.

I'm wondering if the wmode is a limitation of the FLV player, or Flash itself, I really do need the transparent option with this one...
Ran

@Ran Baron
the wmode issue is a wellknown Adobe problem that has nothing to do with how the JW players are programmed, and Adobe apparently cant fix it....

@Kevin
if you are wondering why it seems that many things on these pages doesnt make sense - it might be because the player you use (judging by your link) is the [url=http://flowplayer.sourceforge.net/]flowplayer[/url] a sourceforge project and not the [url=http://www.jeroenwijering.com/?item=JW_Media_Player]JW players[/url] which is what these pages are all about...

Oh, I apologize. I came across this discussion when searching for FlowPlayer help and didn't realize it was about a different player. Thanks for trying to help, though. :)

Hello,
Problem with Full Screen
I am new with JW Flash Player... and i have and installed this with drupal and its workinng properly...
But Full Screen i dont know how to give a functionality for full screen can anybody tell me how i can add it?
I have FLV PLAYERS VERSION 3.9
and Flash Player Version 8.0
Please, guide me to play a flash using full screen option.

@vandy
you just need to update your [url=http://www.macromedia.com/go/getflashplayer]flash player browser plugin[/url] to v9-
you are aware of the allowfulscreen=true flashvar?
if havent already, please checkout the [url=http://www.jeroenwijering.com/extras/wizard.html]wizard[/url] and the [url=http://www.jeroenwijering.com/extras/readme.html]readme[/url]

Reply @andersen
So you want to me update my flash player to 9 .
ya i know the allowfulscreen option.
can you please tell me is there any need for
fsbuttonlink parameter to set?
and if yes than can you tell me how its work?

@vandy
fsbuttonlink is not needed for the true fullscreen...

Reply @andersen
Hello thax for quick reply
but i got some problem . now i got the full screen button. but still i am not able to view the full screen.
nothing happen on while clicking on full screen option

@vandy - i assume you updated the browser plugin?
if so, and still not working you need to post a link to your testpage, or at least your code, else people here have no little chance of guessing what might be the problem...

@ andersen
Thank you very much, as i am working on localhost so i am not able to post a link here. and regarding the code i have right any code for this... i just added a module to drupal and done some necessary changes and its working properly.
So.. i dont know which code i will post to you?

@vandy - sorry, i cant help with CMS systems...

@ andersen
Thank you, very much for your help...
Thanx a lot...
bbye.

yes i noticed the same problem on www.uploadaporn.com please look and give any suggestions ? this is very fustrating free xxx porno site have buggy interface! :@

JeroenW (24.06.2007): @Chris: have you forgotten the "allowfullscreen=true" parameter in your HTMl embed code?
No...
var FO = { movie:"/videos/mediaplayer.swf",id:"mediaplayer",width:w,height:h, allowfullscreen:"true",majorversion:"8",build:"0",menu:"false", bgcolor:"#FFFFFF",
flashvars:"callback=/videos/callback.asp&autostart=true &repeat=true&showdigits=true&linkfromdisplay=true&lightcolor=0x557722 &backcolor=0x000000&frontcolor=0xCCCCCC&shuffle=false&volume=100 &enablejs=true&linktarget=_blank&file=/videos/play.asp%3Fvideo%3D"+video };
UFO.create(FO, "player1");
Just View|Source at http://www.truckblog.com/video/corr_june_2007 as an example and you'll see the code (search for mediaplayer.swf)
Thanks for your help.

@Chris
i have spend some time trying to figure why your fullscreen doesnt work - and after several experiments with your files, i actually figured:
you are using a wrong version of the ufo.js that is not compatible with your player and fullscreen!!
when i dug out the ufo.js that came with v.3.6 of the player from my archives it finally started working!
that said - im amazed that your player works at all!
because you execute your embedding inlinescript BEFORE the placeholder is created - so it is pure luck the <p id=player1 gets printed just as the script needs it (talk of just in time)...
on top of that you have quite a few write commands which causes the javascript to lose its variable content - as mentioned im quite amazed it works at all...
if you really want the inlinescript place the creating script AFTER the <p !
BUT my recommendation is: - update the player and switch to the swfobject.js instead of the ufo.js - its simply the better way!
and then DONT use the inlinescripting method as in the download - but wrap the creation code in a function and place in the head of the page and trigger it in the <body onload= handler, in that way you avoid the gamble...
there have been many bugfixes and new features added, so you will defintely want to read the readme again - and make a testpage with just a player to confirm that it works as expected before integrating it with the page and the many other scripts, so you can be sure to avoid interference/interactions...
the [url=http://www.jeroenwijering.com/extras/readme.html]readme[/url] -
[url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/]demos[/url] most of which uses functions for creation.
btw. - im not crazy about the way you use a phony security bar to make people register...

@ andersen
Hey, came back for help...
i was still not able to play flv in full screen...
and you just explained it... i also used ufo to intergrate ...
can you tell me which version of ufo.js i will use to play full screen feature??
FLV PLAYER 3.9
flash player 9
and one more thing what is the role of (fsbuttonlink) in flv player??
please explain me....
Thanx in Advance

@vandy
if you use the v.3.9 you should use the swfobject.js and NOT the ufo.js!
it is in the zip you have downloaded along with the player and dont have any of the problems mentioned...
the fsbuttonlink is for using the [url=http://www.jeroenwijering.com/extras/fullscreen.html?file=/upload/acera.flv&id=&stream=]fake fullscreen[/url] (full browser window-not true fullscreen)
please see the [url=http://www.jeroenwijering.com/extras/readme.html]readme[/url] for more details...
are you still struggling with that drupal CMS system?
you will have to seek help with [url=http://drupal.org/project/swftools]drupal CMS here[/url]
sorry, i cant help with CMS...
i dont really like or use them, beginners tend to get lost and unhelpable when they dont do exactly as expected, and experts dont need them (unless the site is hundred and hundreds of pages)

@ andersen
Hello,
Come Back Again, My issue regarding the Full Screen has been Solved. But Still there is one problem
Its not fire fox Compatible
In Fire Fox, i am able to do full screen but i am not albe to use full screen functionality Play and Pause VIdeo as well as go back to the Small Screen..
Its completely working in IE

@Vandy - sounds like you need to update your FireFox flash player browser plugin at [url=http://www.macromedia.com/go/getflashplayer]adobe[/url]
as the fullscreen functionality only works from v.9

@ andersen
Thank you.... So... Much Now its working in both IE as well as Fire Fox...
Thanx For your Kind Help...
Once Again Thank You very Much

hi - i just installed (as a beginner) the all videos plugin for joomla.
Now i wanted to give the player a position. how is this possible? Or is this a plugin for the jw mp3 player? Or can somebody tell me how to to put the allvideos plugin as a player in a special position in joomla? (don't forget: i'm a beginner :) (i'ld like to put a pic in a special position and with a click on it the videos start) thx thx

Anyone else having this problem?
In Fullscreen mode using the latest beta flash player (9,0,60,120)
you can't use the player controls anymore. They show, but you can't click on them.
grtz

Jeroen:
when you download the flash player v3.9 on a MAC there are files that are missing - files that are critical to using the fullscreen capability. i had to download the player on Windows platform then email the file to myself in order to get the complete folder onto my MAC.

Well good news, you can now get fullscreen for linux
[url=http://labs.adobe.com/downloads/flashplayer9.html]http://labs.adobe.com/downloads/flashplayer9.html[/url]
It's beta, but hey fullscreen is full-screen :)
Here's the direct url if you're lazy.
[url=http://download.macromedia.com/pub/labs/flashplayer9_update/flashplayer9_install_linux_061107.tar.gz]http://download.macromedia.com/pub/labs/flashplayer9_update/flashplayer9_install_linux_061107.tar.gz[/url]
You'll probably want to read about the [url=http://labs.adobe.com/technologies/flashplayer9/releasenotes.html#known]known issues[/url]
For the record the 'about' page says I have version 9,0,60,120 installed.

@Erm,
Thanks for the info. Gotta mess up one of my Linux boxes now!
Now you've opened a whole new can-of-worms. :)

Hello Back Again on forum for help
Hey...
anybody tell me why i am not able to play as well as full screen functionality in flash file using macromedia flash player 8.0....
its working in 9 but i want this is version 8
anybody help me out for this...
thanx in advaNCE

@Vandy
because the fullscreen functionality was only introduced in flash v.9-
so there is absolutely nothing you, i, or even JeroenW can do about it!
if you want to use flash v.8 you will have to use the old pseudo fullscreen (full browservindow)

@andersen
Hey..
So can you tell me what steps i need to follow for flash version 8.
pseudo fullscreen (Full Browser Window kind of think)
can you tel me how i will do this?
thanx

@Vandy
you need to provide a fullscreenpage.html and set fsbuttonlink and set 'usefullscreen=false'
from the [url=http://www.jeroenwijering.com/extras/readme.html]readme[/url]:
fsbuttonlink (url): The players automatically shows a fullscreen button if a user has installed a capable flashplayer (from 9.0.28). With this flashvar, you can link to an alternative page to display a sort-of fullscreen version of the player. Use serverside variables or the getQueryParamValue() function of SWF Object to send the "file" and any other flashvars to that fullscreen-substitute page.
please see JeroenWs demo here:[url=http://www.jeroenwijering.com/extras/streaming.html]streaming.html[/url]
for another example of the fullscreen please see [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/fullscreenfire.htm]fullscreenfire[/url] from the [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer]demopage[/url]

@andersen,
There's a JavaScript function illustrated here: [url=http://flashpanoramas.com/blog/2006/11/21/best-html-code-to-embed-panorama/]Best html code to embed panorama[/url] to open and close the full-browser-window.
It may be of interest to you.

@Will - thanks for the link!

@andersen,
Now show me how to use it. ;)

@Will et al
the page you posted have a link to this [url=http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_04157&sliceId=1]technote[/url] on paths!
which seem to explain some problems with paths discussed in the fora...

@andersen,
I had to use the 'base' param for bcc in this thread: [url=http://www.jeroenwijering.com/?thread=6399]What is going on ???[/url] and it works!

@Will
as far as have understood the method described in your link, it is just the way JeroenW does it, when taking the differences of the players into account.
the only tricky part is that one has to use getQueryParamValue...
heres a direct link to [url=http://www.jeroenwijering.com/extras/fullscreen.html?file=/upload/acera.flv&id=&stream=]JeroenWs fullscreen page[/url] that gets called when fullscreen is selected from the player on the [url=http://www.jeroenwijering.com/extras/streaming.html]streaming demopage[/url]

@andersen,
Thanks, I'll take a look at the code.

In the ExpressionEngine CMS, I was able to get fullscreen working by ditching the FLV player plugin and using the wizard. From the wizard's code, I then just replaced the preview image and video file with the fields from my video blog (for a single video), or a playlist that loads the data (for a video rotator).
It seems that the FLV plugin (developed at 5pieces.com) doesn't let you set "allowfullscreen." But it isn't necessary to run it to bridge ExpressionEngine info with the wizard code, whether you use Javascript or EMBED.

This might be interesting for you since I think your player has this problem too:
[url=http://www.blog.lessrain.com/?p=578]http://www.blog.lessrain.com/?p=578click here[/url]

I also (still) have a problem with the fullscreenbutton.
I use the embed-function for several reasons.
On one page the fullscreen button works fine (http://www.karakteruitgevers.nl/wegvanlila/filmfragmenten.php)
with this code:
<embed src="flvplayer.swf" width="300" height="168" allowfullscreen="true" flashvars="&file=http://www.karakteruitgevers.nl/wegvanlila/images/flv/wvlklein.flv&height=168&width=300&location=flvplayer.swf&autostart=false&image=http://www.karakteruitgevers.nl/wegvanlila/images/flv/trailer.jpg" />
But on another page it just doesn't wants to work:
www.karakteruitgevers.nl/wegvanlila/
<embed src="flvplayer.swf" width="491" height="275" allowfullscreen="true" flashvars="&file=http://www.karakteruitgevers.nl/wegvanlila/images/flv/wvlklein.flv&height=275&width=491&location=flvplayer.swf&autostart=false&image=http://www.karakteruitgevers.nl/wegvanlila/images/flv/trailer2.jpg" wmode="transparent" allowfullscreen="true"/>
Does anybody has any clue why this is?

@Macfab - yes, wmode="transparent" kills the fullscreen, its a very wellknown adobe problem without any solution...

Fullscreen mode :@ when i click on the fullscreen botton it comes up but after 5 seconds it brings up an error im using flvplayer 3.99 witch is the new one can you tell me what can i do to fix this problem cause it stops my internet explorer vrs 7 /ie7 so plz let me know how to fix this problem

@PHLEXX
- its impossible to guess without a working link to your testpage or a copy of your code...
are you sure you have the v9 version of the flashplayer browser plugin?

Hello :),
I'm using the flashvideo player with embed code now, and the fullscreen button works like a charm, but recently I was trying to get my website XHTML valid and I found on the web that I needed to replace the embed code with a object, param code. I did that, now the videoplayer works ok but the fullscreen no more.
Does anyone know a solution ?
Greets wessite

Do you have a link to a specific page that doesn't work, 'cause the videos I tried all fullscreened OK.

I'm trying to get the full screen to work like
http://www.jeroenwijering.com/extras/streaming.html does on his site.
my site link is:
http://padesplace.com/test.html
I have both versions on there I believe the embedded one and the javascript one. first one works 2nd one doesn't. Neither have fullscreen working.
Any thoughts are greatly appreciated. Also what is the fullscreen.html everyone keeps talking about and where can I get it?

@Jhonny
[s]<script type="text/javascript" src="swfobject.js">[/s]
<script type="text/javascript" src="http://padesplace.com/mplayer/swfobject.js">
your page cant find the swfobject.js! -
it is easiest to keep everything in the same folder and/or use full paths...
to get the old pseudo fullscreen working you must have a fullscreen.html
you can just copy the source from [url=http://www.jeroenwijering.com/extras/fullscreen.html?file=/upload/acera.flv&id=&stream=]JeroenWs fullscreenpage[/url]
you also need to set:
s1.addVariable('fsbuttonlink','fullscreen.html');
s1.addVariable('usefullscreen','false');from the [url=http://www.jeroenwijering.com/extras/readme.html]readme[/url]:
fsbuttonlink (url): The players automatically shows a fullscreen button if a user has installed a capable flashplayer (from 9.0.28). With this flashvar, you can link to an alternative page to display a sort-of fullscreen version of the player. Use serverside variables or the getQueryParamValue() function of SWF Object to send the "file" and any other flashvars to that fullscreen-substitute page
usefullscreen (true,false): Set this flashvar to false if you don't want to use the flash9 fullscreen functionality. If you added a "fsbuttonlink" flashvar as well, this link will become the default action for the fullscreen page.

Will, thanks for the reply!
The FS is working now because I changed the code back to embed. With the valid <object> code it doesn't work so...
Maybe I'll just leave it embed than or if someone knows a solution...
greets

Hi,
I ve tried the JS and the embed method for delivering an flv video unsing Fullscreen...
Only my embed code works for fullscreen, JS does'nt.... how can i make it works ?
( i only used the allowfullscreen var.. )
thx

@Guillaume
its supposed to work - so without a link to your testpage or some code it is quite difficult to guess what might be the problem...
i assume by JS you mean the swfobject.js?
but did you do like this? s1.addParam("allowfullscreen", "true");
note that it is a param not a var!

@andersen
thats my code but i cant seem to find the problem plz let me know if you find it
<p id="player"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
<script type="text/javascript">
var s1 = new SWFObject("flvplayer.swf","single","425","350","7");
s1.addParam("allowfullscreen","true");
s1.addVariable("file","assassin_ediat_ting_dat.flv");
s1.addVariable("autostart","true");
s1.addVariable("backcolor","0x000000");
s1.addVariable("frontcolor","0xCCCCCC");
s1.addVariable("lightcolor","0x557722");
s1.addVariable("height","350");
s1.addVariable("width","425");
s1.addVariable("logo","logo.png");
s1.addVariable("shuffle","false");
s1.write("player");
</script>

@PHLEXX,
Assuming that there is really a video file here:
http://my.domain.com/path-to-file/assassin_ediat_ting_dat.flvand assuming that there is really is a player file here:
http://my.domain.com/path-to-file/flvplayer.swfand assuming that there is a swfobject.js being loaded somewhere, which I can't test because you didn't give me a link, then this player code should work:
<p id="player">
<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a>
to see this player.
</p>
<script type="text/javascript">
var s1 = new SWFObject("flvplayer.swf", "single", "425", "350", "7");
s1.addParam("allowfullscreen", "true");
s1.addVariable("file", "assassin_ediat_ting_dat.flv");
s1.addVariable("autostart", "true");
s1.addVariable("backcolor", "0x000000");
s1.addVariable("frontcolor", "0xCCCCCC");
s1.addVariable("lightcolor", "0x557722");
s1.addVariable("width", "425");
s1.addVariable("height", "350");
s1.addVariable("logo", "logo.png");
s1.write("player");
</script>
You need to test the links to the files that I listed above by putting them in your browser's address bar and downloading the files.

<embed src="http://www.domain.com/plugins/videoplayer/videoplayer.swf" width="425" height="350"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
flashvars="file=URL.flv&bufferlength=40&volume=75&frontcolor=0xFFFFFF&backcolor=0x000000&lightcolor=0xFFFFFF&overstretch=fit&logo=http://www.domain.com/plugins/videoplayer/videologo.png" />
I'm using the code above for embedding videofiles on my site. For days now i'm trying to get the fullscreen function to work but still without any success. I've tried the several flashvars wich should give fullscreen function but NOTHING works!
Could someone please help me with getting the fullscreen function to work? Please change the code above so that it works with the desired fullscreen function. (note: i can NOT use any javascript!)
Thnx in advance!

@Barry,
You need to use the Flash plugin parameter allowfullscreen=true.
Note: The Flash plugin parameters are separate from and different than the JW Player flashvars.
You can review all of the available Flash plugin parameters here: [url=http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701&sliceId=2]Flash OBJECT and EMBED tag attributes[/url]
So your code would look like this:
<embed src="http://www.domain.com/plugins/videoplayer/videoplayer.swf" width="425" height="350"
type="application/x-shockwave-flash" allowfullscreen="true" pluginspage="http://www.macromedia.com/go/getflashplayer"
flashvars="file=URL.flv&bufferlength=40&volume=75&frontcolor=0xFFFFFF&backcolor=0x000000&lightcolor=0xFFFFFF&overstretch=fit&logo=http://www.domain.com/plugins/videoplayer/videologo.png" />
A function for entering fullscreen mode through javascript would be really useful! Thanks for the great work!

@ Will,
Thank you for your perfect explanation! This did the trick! Awesome! Now i can finally get some sleep.... ;)

@Eric,
Please see this post: [url=http://www.jeroenwijering.com/?thread=6683]Start with full screen[/url] :|

@ Will,
Thanks again for your solution regarding the fullscreen mode. I've got one more question about this. When i'm using the fullscreen mode the videologo is way too big. The videologo is blurred and placed in the middle of the screen. Is there a way to prevent this from happening?

I am trying to watch videos on speeddemosarchive.com, in other words, the video is already embeded. For some unknown reason (to me) there is no full screen button and I want to watch full screen.
It says that I have version 9,0,16,0 of adobe flash player and I think 3.9 (not sure, it says "About JW FLV Player 3.9..." when I right click the embeded video) of the JW FLV Player.
Thank you so very much for your time.

@Barry,
I've seen a few posts about this issue. I haven't experimented with it myself, so I don't have a quick answer.
You might experiment with the 'overstretch' flashvar.
overstretch* (true,false,fit,none): Defines how to stretch images/movies to make them fit the display. "true" will stretch them proportionally to fill the display, "false" will stretch them to fit. "fit" will stretch them disproportionally to fit both height and width. "none" will show all items in their original dimensions. Defaults to "fit" for the players and "false" for the rotator.
If it's an issue with the player itself, then, of course, I can't do anything about it.

@Crispy,
You will have to ask speeddemosarchive to allow fullscreen mode.

@Will
On my other computer, it workes. That computer doesn't have the best graphics; I would like it on this computer.
Thanks again.

@Crispy,
Then you may need to update the Flash plugin on the computer that doesn't work. The true fullscreen only works in Flash plugins starting at v9.0.20.0 (or something close to that).

Just an observation to anyone who might be interested. In NS8 & IE7, the fullscreen button is there automatically with allowfullscreen=true. In FF2, I had to add the flashvar s0.addVariable('fsbuttonlink',''); to get the FS button to show. Have FL 9.0.47 on all 3 browsers.

@Dan,
Thanks for the info.

Hi,
Is it possible to start the video in fullscreen mode when we click on it ?
ie. do the same thing when we click on the video than when we click on the fullscreen button on the mini play bar.
I don't know if it matters, but I hide all the play bar so that there's on ly the possibility to start the video by clicking on it.
Thanks for any answer,
Popov

@Popov,
Please see this thread: [url=http://www.jeroenwijering.com/?thread=6683]Start with full screen
[/url]

@Will:
I have read this thread, but I'm not in that case: I don't want the video to start automatically in fullscreen, I only want it to be fullscreen when I click on it (which fulfills the Adobe requirement that fullscreen is triggered only on mouse clicks / keys events). That should be possible because that's what the little button 'fullscreen' on the mini play bar does when we click on it. So, what I would like is instead going fullscreen when clicking on this button is going fullscreen when clicking on the video itself.

@Popov,
That will probably require changes in the player code.
Using "linkfromdisplay" to jump to the "link" doesn't qualify.

I have the same problem as Gepatto.
Gepatto said:
"In Fullscreen mode using the latest beta flash player (9,0,60,120)
you can't use the player controls anymore. They show, but you can't click on them."
this only happens for me in firefox.
and this only happens for AS2 swfs...not as3/flex apps
I haven't seen anyone post about it anywhere.

I have similar problems on my [url=http://www.kung-fu.co.il/english/videos/]southern praying mantis[/url] site.
Some player work okay in full screen while others keep the full screen resolution even after escaping back to normal view. Very strange.

@RL
you need to set width and height in the flashvars...
but best would be to update the player, and use swfobject.js for the embedding -
please see the [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/minimal_but_safe.htm]minimal but safe[/url] demo and this [url=http://www.jeroenwijering.com/?thread=6640#msg32147]thread[/url] for code examples...

I am trying to use the javascript to turn on the fullscreen.
javascript:sendEvent('fullscreen');
<script type='text/javascript'>
var so = new SWFObject('/shared/mediaplayer.swf','mpl','640','300','7');
so.addParam('allowfullscreen','true');
so.addParam('menu','false');
so.addVariable('file','/media/recent_xml');
so.addVariable('callback','/media/statistics');
so.addVariable('shuffle','false');
so.addVariable('showicons','false');
so.addVariable('height','300');
so.addVariable('enablejs','true');
so.addVariable('javascriptid','mpl');
so.addVariable('displayheight','300');
so.addVariable('width','640');
so.addVariable('displaywidth','400');
so.addVariable('autostart','true');
so.write('player');
</script>
I am basing this off of the javascript tutorial and the flowchart. It says fullscreen is a sendEvent command, but this does not work. I am using jwmp 3.99 and flash 9.0.45
8)

I really like all the features and architecture work you have put into this player. A license was purchased and I will be implementing it for the first time on one of my client's sites before the end of the month.
My interface designer has a problem though -- the same problem with sendEvent('fullscreen') as mentioned above.
It would be really nice if we could use the javascript sendEvent functionality on our custom video controls interface without having to re-skin the FLA itself.
I found that the 'fullscreen' sendEvent does work when using Flash v8 fullscreen.html style, but I can't use it with Flash v9 style.
I know this was being looked into as far back at 3/13/2007, but I haven't seen any real updates in this thread since then.
JeroenW (13.03.2007): Switching the Flash9 fullscreen from javascript isn't possible yet. I'll have a look at it!
Any updates?
Thanks in advance. :)

@mario,
I don't think true fullscreen is possible from JavaScript.
Please see this thread: [url=http://www.jeroenwijering.com/?thread=6683]Start with full screen[/url].
The flashvar 'fullscreen' gives you a full browser window.

i am looking to buy a license sometime soon but i want to make sure that the full screen works and is easy to configure.

@beats,
Full screen works in the Flash plugin 9,0,45,0 and up,
if you don't use wmode=transparent.
There is no configuration other than adding the parameter:
so.addParam('allowfullscreen', 'true');to your code.

Hi, would it be possible to have a "button" player, without the scrolling bar? (size 20x20 for example).

That's possible, just set the size to 17x20 for that. Ony the play/pause button is then shown.

Hello Jeroen,
I customed your player on the following site:
but there's a problem is that when the player is in the iBox, the fullscreen
doesn't work.
How can I make a real fullscreen?
Is there anything that I have to add in my code?

I have 2 questions relative to the las version!
Is there a way to make fullscreen working with wmode=transparent?
Is there a way to start fullscreen from javascript (using the buit in flash fullscreen)?
Thx

Is there a way to make fullscreen working with wmode=transparent?
not yet, maybe this annoying behaviour will have changed with the [url=http://labs.adobe.com/technologies/flashplayer9/]next version[/url] of the flashplayer browser plugin from adobe...
Is there a way to start fullscreen from javascript (using the buit in flash fullscreen)?
no, - its a security feature built into the flashplayer browser plugin by adobe...

Can some one clear this for me?
I want to use the true fullscreen capability of the player if the client has 9.028 version and the simulated thingy http://www.jeroenwijering.com/extras/fullscreen.html?file=/upload/acera.flv&id=&stream= if the client doesnt have 9.028 version of the flash player.
Intuitively i thought that if i do this:
so.addParam('allowfullscreen','true');
so.addParam('usefullscreen','true');
and add this line
so.addVariable("fsbuttonlink","video1.html");
The player would make the REAL full screen if version is capable or the full screen button will go to the fsbuttonlink location.
Have i got it wrong?
Also i have a small playlist created by myself that i want to load with the loadFile function. And i need to change the location for the fsbuttonlink every time i load another video ofcourse.
<a href= "javascript:loadFile({file:'http://example.com/files/video/test1.flv', id:'121',image:'/files/video/test1.jpg', fsbuttonlink('video1.html')});">Movie 1</a>
<a href= "javascript:loadFile({file:'http://example.com/files/video/test2.flv', id:'121',image:'/files/video/test1.jpg', fsbuttonlink('video2.html')});">Movie 2</a>
<a href= "javascript:loadFile({file:'http://example.com/files/video/test3.flv', id:'121',image:'/files/video/test1.jpg', fsbuttonlink('video3.html')});">Movie 3</a>
and in the video1.html, video3.html, video3.html add the code from jeroen's example:
<script type="text/javascript">
var so = new SWFObject('/embed/mediaplayer.swf','player','100%','100%','7','#000000');
so.addVariable("file",getQueryParamValue("file"));
so.addVariable("id",getQueryParamValue("id"));
if(getQueryParamValue("stream")!='') { so.addVariable("streamscript",getQueryParamValue("stream")); }
so.addVariable("usefullscreen","false");
so.addVariable("fsbuttonlink","streaming.html");
so.addVariable("displayheight","9999");
so.addVariable("autostart","true");
so.write('player');
</script>

usefullscreen is a flashvar: s.add<em>Variable</em>('usefullscreen','true');
from the [url=http://www.jeroenwijering.com/extras/readme.html]readme[/url]:
usefullscreen (true,false): Set this flashvar to false if you don't want to use the flash9 fullscreen functionality. If you added a "fsbuttonlink" flashvar as well, this link will become the default action for the fullscreen page.
to change the fsbuttonlink you must recreate the player:
wrap the creation script as a function, placed in the <head> and call in the <body onload or whenever you need to change the settings...
something like this:
function createPlayer(theFile, theID, theImage, theLink) {
var s = new SWFObject('mediaplayer.swf','playerID','320','240','7');
s.addParam('allowfullscreen','true');
s.addVariable('usefullscreen','true');
s.addVariable('showfsbutton','true');
s.addVariable('fsbuttonlink', theLink);
s.addVariable('image', theImage);
s.addVariable('file', theFile);
s.addVariable('id', theID);
s.addVariable('autostart','true');
s.addVariable('height','320');
s.addVariable('width','240');
s.write('placeholder');
}
and call like this:
<a href="javascript: createPlayer(
'http://example.com/files/video/test3.flv',
'121',
'http://example.com//files/video/test1.jpg',
'video3.html')">Movie 3</a>most of the [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/minimal_but_safe.htm]demos[/url] on the [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/]demopage[/url] use such a method...

yes goolish i noticed the same thing on www.uploadaporn.com i think
javascript:sendEvent('fullscreen');
<script type='text/javascript'>
var so = new SWFObject('/shared/mediaplayer.swf','mpl','640','300','7');
so.addParam('allowfullscreen','true');
so.addParam('menu','false');
so.addVariable('file','/media/recent_xml');
so.addVariable('callback','/media/statistics');
so.addVariable('shuffle','false');
so.addVariable('showicons','false');
so.addVariable('height','300');
so.addVariable('enablejs','true');
so.addVariable('javascriptid','mpl');
so.addVariable('displayheight','300');
so.addVariable('width','640');
so.addVariable('displaywidth','400');
so.addVariable('autostart','true');
so.write('player');
</script>
might solve the problem and get ur free porn site back up

Not sure if that's a great thing though .. ;)

Hi Jeroen,
Why doesn't the full screen button work in IE7?
It works fine in FF.
I noticed It doesn't work when I use the mediaplayer (sidebuttons) + IE7 but it does work with IE7 + flvPlayer (local and on the hosting server).
Good luck..
Tomorrow I'll compare the files some more, it might be a bug.
Greetz,
Maurits

@Maurits
Why doesn't the full screen button work in IE7?
It works fine in FF.
as it work in one browser, we can deduce the code probably is ok.
so you must need to update your [url=http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash]flashplayer browserplugin[/url]
you need v.9 for the fullscreen to work - you can check the version here: [url=http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507]version test[/url]
(check in each browser!)

Hi Andersen, Thanx for your help! Unfortunately this is not the case. I updated the flashplayer some time ago and the full screen options work on the same page in IE7 when I include the flvplayer next to the mediaplayer.
I think it's a bug in the mediaplayer and not a client setting and will compare the mediaplayer and flvplayer tonight.
Greetz,
Maurits

I am going gaga now. I was installing the script yesterday but yesterday none of my .flv files work except for the video.flv from the zip but take note the fullscreen work for IE. Today October 17, none of the fullscreen button works but i can play other flv files now besides the video.flv. I am getting frustrated why i cant even full screen size the demos in this site. Please help thanks. Also i keep getting IE errors when working with the sendEvent. this demo page is not working in IE in my comp http://www.jeroenwijering.com/extras/javascript.html
Do you have an autodownload in your scripts that updates the flvplayer.swf thats why im getting this bugs?
Thanks for your help

@kelmadics
no need to go gaga! - theres an explanation to everything, so dont get yourself spooked...
you have probably been seeing old files from the cache!
remember to clear the cache when testing and check the source that you are actually seeing the files you expect...
note the js stuff only works online -
from the [url=http://www.jeroenwijering.com/extras/javascript.html]javascript api[/url] page:
Here's an example of all the javascript interactions the players/rotator support. Note that javascript controls only work from Flash version 8 and only online, not locally!
when you cant see the fullscreen from this site either, its a pretty sure sign your browser plugin needs (re)installing - please check the links in previous posting.
sometimes its needed to [url=http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157]deinstall[/url] the old plugin first...

Dear Andersen,
When your flv player full screenmode works fine in IE but your mediaplayer full screenmode doesn't... Then It has to be the player ..and not the client configuration.. right?
I could not find anything different in the source code yet.
Greetings,
Maurits

Don't waste your time looking.
The mediaplayer, flvplayer, and the mp3player are exactly the same code UNLESS you are using different versions.
Right-click on the display area and check the version of the players that you are using.

okok... let me be more clear.. :)
The mediaplayer and the flv player are both the same version when I right click.
The media mediaplayer full screen works fine when I have the list below but the full screen doesn't work together whit the thumbnails on the right side..
See here http://www.futurerides.com/assets/js/flvplayer.html
It works in FF but just not in IE for this player with thumbnails to the side.
Greetz and thanx for your help
Maurits

[s]so.addParam('allowscriptaccess','true');[/s]
[url=http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16494]adobe page: Using AllowScriptAccess to control outbound scripting from Macromedia Flash[/url]
so.addParam('allowscriptaccess','always');

Thanx so much for your solution Andersen!!!!
It did the trick for me!
Greetz,
Maurits

HEloo,
i got a problem again so here it is. On top of the flash video we have a dhtml dropdown so this cause the dropdown to show BEHIND the video. Now i found a solution to fix this which is the wmode - transparent. The problem is with this fix the fullscreen size button now does NOT work. Can someone help me fix around this problem.
Thanks
I appreciate.

these are my setting:
var FU = {
movie:"/flash/flvplayer.swf",wmode:"transparent",allowfullscreen:"true",id:"mpl",width:"305",height:"210",majorversion:"7",build:"0",bgcolor:"#9CBED6",menu:"false",
flashvars:"file=playlist.xml&enablejs=true&javascriptid=mpl&displayheight=170&backcolor=0x00558C&lightcolor=0x6BAACE&frontcolor=0xEFEFEF&screencolor=0xEFEFEF&autostart=false&bufferlength=3&repeat=list"
};
UFO.create(FU, "clearcut-player");

@kelmadics - fullscreen and wmode are in conflict, its a very wellknown problem - which might get solved with the [url=http://labs.adobe.com/downloads/flashplayer9.html]next version of flash browserplugin[/url]

Hi andersen,
Since this is not fixable is there a way to open up a full screen in a pop-up, (or something like that) that will when you click escape or something in the full screen size it will take you back to the orignal version. I think i read something like that passing variables but i cannot find an example of it. Do you have any samples of something like that?

please see the [url=http://www.jeroenwijering.com/extras/fullscreen.html?file=golfers.flv&id=&stream=stream.php]fullwindow[/url] regular flv file from the [url=http://www.jeroenwijering.com/extras/streaming.html]streaming page[/url] (linked from [url=http://www.jeroenwijering.com/extras/]extras[/url])
and [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/fullscreenfire.htm]fullscreenfire[/url] as well as [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/loadandplay.htm]loadandplay[/url] from the [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/]demopage[/url]

Hey guys,
I've been working on this issue now for a couple of days, been through all sorts of readme's as well as all over this site. I can't seem to find a solution.
Prob: Can't view video on MySpace using either IE7.x or FF2.x. The Full View button on the player doesn't function regardless of my flashvars and I only get sound from the "movie" instead of both sound and vid. I've never been able to get the video to function. Also, my scrollbar doesn't scroll anymore, I have to nav using the forward or back buttons, or click repeatedly on the scroll bar to reach the top of the list in order to try to "view" my movie.
The movie in question is a .flv and it's hosted on my webhost just like everything else with this player.
I am using the embed tags as that's the only way to get this player to work on MySpace.
Here's the link to the actual location: http://groups.myspace.com/index.cfm?fuseaction=groups.groupProfile&groupID=106864053 or [url=http://groups.myspace.com/index.cfm?fuseaction=groups.groupProfile&groupID=106864053]Clicky[/url]
Here's a copy of my code:
<p><center><b>Music</b><br><object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="225" width="750" data="http://www.softwerks.net/rp/matrix/mediaplayer.swf"><param name="allowScriptAccess" value="never" /><param name="allowNetworking" value="internal" /><param name="movie" value="http://www.softwerks.net/rp/matrix/mediaplayer.swf" /><param name="bgcolor" value="2ACF1D" /><param name="wmode" value="opaque" /><param name="quality" value="high" /><param name="menu" value="false" /><param name="scale" value="showall" /><param name="flashvars" value="file=http://www.softwerks.net/rp/matrix/playlist.xml&displayheight=125&autostart=true&showeq=true&lightcolor=0x2ACF1D&backcolor=0x008000&frontcolor=0x000000&repeat=true&height=225&width=750&showdigits=true&shownavigation=true&overstretch=fit&usefullscreen=true" /></object></center></p>
This has been such a struggle for me. I've been able to code the entire dang page and finish up with everything, except this... uggg. It's really driving me up a wall, lol. If this is not going to work out here on MySpace for me, then all I need to do is hear it and I'll simply move on and just accept that.
Thanks in advance!!
Kaori

Kaori, please use the <embed> tag that's outputted from my wizard page. You can simply insert your settings and copy-paste the outputted code. Your code still contains a string of issues

@Titoror
I did that and the end result is up on that page I posted above. I still can't view anything, only hear it. Also, with the very settings on this page via the Wizard I was able to use the full screen functionality, but for some reason it doesn't work on MySpace. I'm okay with that, I just think at this point it must be a failed avi to flv conversion or something. I've tried just about everything else at this point and still no go =( To do the conversion I'm using Blaze Media Pro. If anyone can suggest a better free converter, I'm all ears at this point =P
Here's the code I'm using now:
<p><center><b>Music</b><br><embed src="http://www.softwerks.net/rp/matrix/mediaplayer.swf" width="750" height="340" allowfullscreen="true" allowscriptaccess="always" flashvars="&displayheight=240&file=http://www.softwerks.net/rp/matrix/playlist.xml&height=340&width=750&backcolor=0x008000&lightcolor=0x2ACF1D" /></center></p>
Any other thoughts? And thank you very much for the previous suggestion.

Update, I've reconverted the flv file and now the vid and sound show up with the code generated from the Wizard on here. But the fullscreen button still doesn't work. Any ideas folks? I'm using the same code as the post above, not the first one, but the 2nd post of mine.

I'm still looking for a solution, if anyone has any thoughts, that'd be great =P

@Kaori
as you seemingly have set allowfullscreen="true" and still cant use fullscreen -
theres a good chance you just need to update your flash plugin - you can check here: [url=http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507]flash version test[/url] (dec. 07 - v.9.0.115)

follow 1st post, it will work:
http://www.easyrecovery.co.uk

Thanks guys, now I feel totally stupid =P At least it works now hehe.

The fullscreen button in our player functions very well. Our site is made for schools with old computers, slow networks and system keepers who not allow (Flash)updates. For the function of the fullscreen button, this is necessary. I wonder if there is any other solution to show a film full screen (like double-click as it works on the .wmv-file)
have a look at:
newwebsite: http://www.schooltv.nl/beeldbank/clip/20030623_hunebedden02
old: http://www.schooltv.nl/beeldbank_oud/hi/index.jsp?povo=vo#u=1586

We are having issues when playing videos on ANY mac. None of the controls work. (play, pause, volume, ect..)
When the video has completely loaded there is no way to replay it.
I've tested it on the latest versions firefox and safafi both running flash player 9. It happens on my Intell Mac pro as well as my g4 laptop. It also happens with any connection (dsl, t-1,)
Any help would be greatly appreciated!!
Steve Lundy
Staff Photographer
Daily Herald Newspapers

@Steve,
Can you post a direct link to the page with the JW Media Player.

hii anderson
i hav a Jeroenwijering flv fullscreen
player,inside a html page,
in that html page one button is there,
that button should be invisible until
user click & watch half of the flv
movie,
after watching that half of the
movie,that html button should be
automatically active,
any idea how to do this type of thing
using javascript in flash
plz mAIL ME AT neeraj8585@gmail.com

Hi I want to recommend you very useful rapidshare search http://loadingvault.com. You can find there a lot of new movies, games and music. Enjoy it!

grabemnow

I have the same issue. I want to use <object> instead of <embed> because it is in the HTML spec, and I need the video to appear for those who have JavaScript disabled. It would be nice to see these issues addressed in the documentation.

@al3 - please see this posting - http://www.jeroenwijering.com/?thread=9676#msg58224

One of my colleagues figured it out.
<param name="allowfullscreen" value="true"></param> needs to be in the object tag.
<object data="player/mediaplayer.swf" type="application/x-shockwave-flash" height="220" width="356">
<param name="movie" value="player/mediaplayer.swf"></param>
<param name="quality" value="high"></param>
<param name="allowfullscreen" value="true"></param>
<param name="flashvars" value="displayheight=200&displaywidth=356&usefullscreen=true&file=file.flv"></param>
</object>
Works fine now.

I can't tell if it is or isn't possible to go to fullscreen mode using Javascript. I'd like to have a button's onClick put the video into fullscreen. Is that possible?... something like:
<input type="button" onClick="goFull()" value="Full Screen">
function goFull() {
thisMovie('mpl').sendEvent('fullscreen')
}
var so = new SWFObject('mediaplayer.swf','mpl',''+fWidth,''+fHeight,'8');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('width',''+fWidth);
so.addVariable('height',''+fHeight);
so.addVariable('file','rtmp://learnnet.flashsvc.vitalstreamcdn.com/learnnet_vitalstream_com/_definst_');
so.addVariable('id','videodemo/s1_6241B_cancin0_8-29-06_640x480_1mb.flv');
so.addVariable('autostart','true');
so.addVariable('fullScreen','true');
so.addVariable("overstretch","fit");
so.addVariable('javascriptid','mpl');
so.addVariable('enablejs','true');
so.write('mPlayer');
Any advice greatly appreciated.
Steve

Well, that just seems wrong! ;-)
The Adobe restriction I take it. That's for putting a clear end to the question. Much appreciated!
sr

@SteveR - impossible ! - from the "Javascript interaction" page - http://www.jeroenwijering.com/?item=Javascript_interaction
Here's a complete overview of all events you can send to the player, plus possible parameter (no fullscreen event indeed):
what you can do, is go full browser window - please see the source of the demos on the demopage -
http://home5.inet.tele.dk/nyboe/flash/mediaplayer/fullscreenfire.htm
http://home5.inet.tele.dk/nyboe/flash/mediaplayer/onlinemediaplayer.htm
http://home5.inet.tele.dk/nyboe/flash/mediaplayer/

That's almost as good. However, I put together a fullscreen page and am getting a stange Javascript error, object doesn't support this property or method, on the following line:
thisMovie('mpl').sendEvent('scrub','242')
I was wondering if the new parameters don't allow my Javascript to work. The app allows the video to run normally. When you click the fullscreen button it opens a new window and I'm trying to go to the same position in the video when the fullscreen button was clicked. Here's the code, can you see what I've done wrong?
<style type="text/css">
body { PADDING-LEFT:0px; PADDING-RIGHT:0px; PADDING-TOP:0px; PADDING-BOTTOM:0px; MARGIN:0px; WIDTH:100%; HEIGHT:100%;
background-color: #000000;
color: #CCCCCC;
overflow:hidden;
}
#container { POSITION: absolute; LEFT: 0px; TOP: 0px; WIDTH: 100%; HEIGHT: 100%; overflow:hidden; }
</style>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var lastPosition=0
function imLoaded() {
var s = new SWFObject('mediaplayer.swf','mpl','100%','100%','7','#000000');
s.addParam('allowscriptaccess','always');
s.addVariable('file','rtmp://learnnet.flashsvc.vitalstreamcdn.com/learnnet_vitalstream_com/_definst_');
s.addVariable('id','videodemo/s1_6241B_cancin0_8-29-06_640x480_1mb');
s.addVariable("usefullscreen","false");
s.addVariable("showicons","false");
s.addVariable("displayheight","9999");
s.addVariable("overstretch","fit");
s.addVariable("autostart","true");
s.addVariable('enablejs','true');
s.addVariable('javascriptid','mpl');
s.addVariable("repeat","true");
s.write("container");
thisMovie('mpl').sendEvent('scrub','242') // <----------- the error occurs here
}
function sendEvent(swf,typ,prm) {
thisMovie(swf).sendEvent(typ,prm);
}
function thisMovie(swf) {
if(navigator.appName.indexOf("Microsoft") != -1) {
return window[swf];
} else {
return document[swf];
}
}
function getUpdate(typ,pr1,pr2,swf) {
}
function currentPosition() {
return lastPosition
}
</script>
</head>
<body onLoad="imLoaded()">
<div id="container" ></div>

are you testing online? the javascript stuff only works online !
from the "Javascript interaction" page - http://www.jeroenwijering.com/?item=Javascript_interaction
Note that javascript interaction only work for the Flash Plugin 8+ and only online, due to security restrictions.

Yes, on-line. But I got it. I just added a delay in calling the line.
TM = setInterval('goHere()',2000)
}
function goHere() {
clearInterval(TM)
thisMovie('mpl').sendEvent('scrub','233')
}
Many, many thanks for all your help!
sr

ah, that problem - yes, the player needs a moment to process and get ready, the best is to check the "state" variable first !
when the currentState==0 the player is ready (or paused) - this avoids the risk of a slow connection stalling the player...
please see the source of the autostartspecific demo on the demopage for an example of this:
http://home5.inet.tele.dk/nyboe/flash/mediaplayer/autostartspecific.htm
http://home5.inet.tele.dk/nyboe/flash/mediaplayer

Much nicer approach! Thanks!
sr

hola soy de venezuela

A para siempre?

Mene cunshermo non cuerma abc Data Recovery http://www.abcdatarecovery.co.uk/Data-Recovery/ chemiana meconcha.


I'm having problems getting the fullscreen with using just plain old HTML (no scripts)
I have this:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
height="240" width="320">
<param name="flashvars"
value="file=http://originalupholdersofthegamingarts.com/elevF.flv"><param
name="movie"
value="http://originalupholdersofthegamingarts.com/player.swf">
<embed
src="http://originalupholdersofthegamingarts.com/player.swf"
bgcolor="#FFFFFF" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
allowfullscreen="true"
flashvars="file=http://originalupholdersofthegamingarts.com/elevF.flv"
height="344" width="425"></object>
But I don't get a fullscreen button at all.
Ideas?

<param name="flashvars"
value="file=http://originalupholdersofthegamingarts.com/elevF.flv<strong>&fullscreen-true</strong>">
<strong><param name="allowfullscreen" value="true"></strong>
<embed
src="http://originalupholdersofthegamingarts.com/player.swf"
bgcolor="#FFFFFF" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
allowfullscreen="true"
flashvars="file=http://originalupholdersofthegamingarts.com/elevF.flv<strong>&fullscreen=true</strong>"Please review the v4.x player flashvars here: http://code.longtailvideo.com/trac/wiki/FlashVars
Hello.
Can anyone show me how to add flashvars inside a script for an overlay player, like those examples from http://www.gobekdeligi.com/videobox/ ?
My script looks like this :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="mootools.js"></script>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="videobox.js"></script>
<link rel="stylesheet" href="css/videobox.css" type="text/css" media="screen" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<a href="flvplayer.swf?file=movie.flv" rel="vidbox 425 350" title="caption"><img src="image.jpg" width="225" height="168" /></a>
</body>
</html>
When it plays the fullscreen option is blocked. How do I add also a preview to the video ? Can anyone help me? Thanks.