Nov. 06, 2009Peter M.
Hi,
I just found JW Player and added it on a test site of mine - it works but there is no preview image, just the "black screen" with the play-button in it:
http://www.ki.tng.de/~petermarwitz/in7days/referenzen-videos.html
And this is the code (copying the one from the instruction screen):
<script type='text/javascript' src='player/swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player/player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=fuehrerschein-mit-17-sat1.flv');
s1.addParam('image','http://www.peter-marwitz.de/in7days/player/fuehrerscheinmit17.jpg');
s1.write('preview');
</script>
What am I missing? Thanks!
Nov. 06, 2009hobbs
Wrong:s1.addParam('flashvars','file=fuehrerschein-mit-17-sat1.flv');
s1.addParam('image','http://www.peter-marwitz.de/in7days/player/fuehrerscheinmit17.jpg');
Right:s1.addParam('flashvars','file=fuehrerschein-mit-17-sat1.flv&image=http://www.peter-marwitz.de/in7days/player/fuehrerscheinmit17.jpg');
Nov. 06, 2009Peter M.
Thanks, now it works fine! :-)
Here are some helpful links to learn more about the JW Player™:
Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!
If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.