
player won't allow for full screen
Can't get the tool bar to display the full screen icon. The video doesn't auto start. Both of these functions are part of the Flashvars that is in the code so I don't know why it's not working.
Can't get the tool bar to display the full screen icon. The video doesn't auto start. Both of these functions are part of the Flashvars that is in the code so I don't know why it's not working.
Actually, the auto start works fine. But there is still no icon for full screen although it's written in the java script.
fullscreen is an Adobe Flash Player function, so it is a parameter, not a flashvar.
If you post your player code or a link to your test page, someone may be able to help you further.
Here's the player code. Can anyone can tell me why I don't get an icon on the tool bar for full screen? Thanks in advance. . . i'm not worthy.
<script type='text/javascript' src='swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
var so = new SWFObject('player.swf','mpl','600','360','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','videogoeshere.flv');
so.addVariable('controlbar','over');
so.addVariable('dock','true');
so.addVariable('autostart','true');
so.addVariable('displayclick','fullscreen');
so.addVariable('stretching','fill');
so.write('mediaspace');
</script>
Your player code looks OK.
Perhaps your Adobe flash Player is out-of-date.
v9,0,28,0 is the first Flash Player to support true fullscreen.
You are only requiring v9,0,0,0.
You can check the version of the Adobe Flash Player that you have installed at this page: *http://kb2.adobe.com/cps/155/tn_15507.html*
Otherwise, post a link to your Test Page so we don't have to keep guessing...
Ok. Adobe Flash player is up to date.
I guess it's time for show and tell.
Here's the link.
http://www.webstreamstudios.com/index.html
I would be most grateful to learn the error of my ways.
.
*_OMFG!!_*
You're using a v4.0 player!
Get yourself a new player here: *http://developer.longtailvideo.com/trac/log/trunk/as3/player.swf?rev=261*
Click on the release that you want in the *Rev* column.
That's *_261_* releases better!
Unbelievable. I have no idea how I got such an outdated player, but I've got a new player now! What a relief. . . I couldn't have done this without you. Thanks for the lift. Outstanding.
You're welcome!
*_Good Luck!_*
I posted this earlier, but not sure how to find the thread. . . The JW player logo is showing on my videos for just a few seconds and then fades away. Actually, it's behind the tool bar so you can hardly see it. But I would like to remove it altogether. Can you help?
If you have a license, you can download the licensed player, which does not have the JW Logo.
yes, of course. I have a license. The big one. Good for up to 50 websites. And I downloaded the licensed player. That's why I'm confused as to why the logo is appearing. . . Am I missing something.
Did your download have a player file named *player-licensed.swf*?
Then I think you have to upload *player-licensed.swf* and then change your code to use *player-licensed.swf.*
I have the player file named: player-licensed-viral.swf. It came with the original download after I got my license. That was the only player file I got in the download. . . How do I get the file: player-licensed.swf?
Contact Longtail Video through the Contact form on the Home page. They will be able to tell you how to get the non-viral player.
I think I saw the instructions that said to go to the licensed player download page, then make sure that the checkbox for Viral was unchecked.
Bingo. I unchecked the viral box, got a new download, made a few changes in the code and all is well. Thanks for the support. . . In the meantime, I have another issue I can't figure out. When I use the line of code that allows for high definition, the autostart feature stops working. Any ideas?
. . . so.addVariable('plugins','hd-1');
thanks for the tip. I think I'll leave the HD off for now. don't want to get too far ahead of the average viewer. thanks again for all your help.
Actually, the average viewer is probably using that buggy v10,0,32,18 that got pushed out in a recent Windows Update!
bc.. <scripttype='text/javascript'>
varso=newSWFObject('player-licensed.swf','mpl','600','360','*9.0.124*');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','640x360best.flv');
so.addVariable('controlbar','over');
so.addVariable('dock','true');
so.addVariable('autostart','true');
so.addVariable('stretching','fill');
*so.addVariable('plugins','hd');*
*so.addVariable('hd.file','something.mp4');//changethistoyourHDfile*
*so.addVariable('hd.state','false');//startsinSD*
so.write('mediaspace');
</script>
*[i]You should require at least Flash v9,0,124,0 so the H.264 and true fullscreen will work.[/i]*
Otherwise, if your users have a lower v9 Flash Player, it may not display correctly, yet they won't get the alternate content message to upgrade their Flash Player.