Oct. 20, 2009THawes
Trying to use jwplayer with a long url and the latest jw player. eg:
<embed type="application/x-shockwave-flash" src="player.swf" style="" id="player" name="player" quality="high" allowfullscreen="true" allowscriptaccess="always" wmode="opaque" flashvars="file=http://ia311032.us.archive.org/2/items/kzns.pl/kazanie/2009/2009_04_25_Peter_Gaut_Prophecy.flv&height=425&width=538&largecontrols=false&autostart=true&frontcolor=ffffff&lightcolor=cc9900&skin=/modieus.swf" height="425" width="538">
It complains that http://ia311032.us.archive.org/2/items/kzns.pl/kazanie/ is not found (and indeed it doesn't exist). Why does it not accept the full long url?
Oct. 21, 2009hobbs
There is no file at this URI
http://ia311032.us.archive.org/2/items/kzns.pl/kazanie/2009/2009_04_25_Peter_Gaut_Prophecy.flvit just returns a 404.
Oct. 21, 2009THawes
OOo thanks you are a wise man! it should have had f4v at the end and .. now it all works ok thanks. Interesting though that the error message was only wide enough to fit a certain number of characaters on.
Oct. 30, 2009Ram Sharma
latest jwplayer not able to play this url
<script type='text/javascript'>
var s1 = new SWFObject('player-viral.swf','player','300','250','9');
s1.addParam("usefullscreen","false");
s1.addParam("wmode", "transparent");
s1.addParam('allownetworking','all');
s1.addParam('allowscriptaccess','always');
s1.addVariable('menu','false');
s1.addParam('flashvars','&file=http://audiotest.s3.amazonaws.com/Verno-3-3-09.mp3?AWSAccessKeyId=AKIAJKJCOQQ52DMZE2QA&Expires=1288531248&Signature=mUFq5By5zPeIT/o%2B8Llpw9KGNXk%3D&type=sound');
s1.write('preview1');
</script>
Oct. 30, 2009hobbs
1) menu is an Adobe Flash Player parameter.
2) There is no Adobe Flash Player parameter usefullscreen. Use allowfullscreen
3) The JW FLV Player is not transparent, so wmode=transparent is not useful. If you want to display HTML
content overlaid on your Flash content, use wmode=opaque.
4) When you use a URI that contains the flashvars stacking characters ( ? = + ), you must urlencode the URI.
Adobe's documentation: http://kb2.adobe.com/cps/164/tn_16417.html
Plays for Me™
<script type='text/javascript'>
var s1 = new SWFObject('player-viral.swf', 'player', '300', '250', '9.0.124');
s1.addParam('allowscriptaccess', 'always');
s1.addParam('allowfullscreen', 'false');
//s1.addParam('wmode', 'opaque');
s1.addParam('allownetworking', 'all');
s1.addParam('menu', 'false');
s1.addVariable('file', encodeURIComponent('http://audiotest.s3.amazonaws.com/Verno-3-3-09.mp3?AWSAccessKeyId=AKIAJKJCOQQ52DMZE2QA&Expires=1288531248&Signature=mUFq5By5zPeIT/o%2B8Llpw9KGNXk='));
s1.addVariable('type', 'sound');
s1.write('preview1');
</script>
Plays your MP3 84:12...
Nov. 03, 2009Ram Sharma
Thank you so much hobbs. it's working for me too.
:)
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.