Nov. 05, 2009Pascal
Hello
i try to make playlist with smil file of highwinds
... so.addVariable('type','highwinnds'); ...
but it don't run
An idea ?
Thanks
Nov. 05, 2009hobbs
See the RTMP Streaming documentation here:
http://developer.longtailvideo.com/trac/wiki/FlashFormats#RTMPStreaming
You need to use the flashvar rtmp.loadbalance true
There is no supported type highwinds.
The correct type for RTMP streaming is rtmp.
See the flashvars documentation here:
http://developer.longtailvideo.com/trac/wiki/FlashVars
Nov. 06, 2009Pascal
hello
Thanks
it's ok for one video but not with playlist rss
<var so = new SWFObject('player.swf','ply','470','470','9','#');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','test.xml');
so.addVariable('playlist','bottom');
so.addVariable('rtmp.loadbalance','true');
so.addVariable('type','rtmp ');
so.write('mediaspace');>
and
<<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Example media RSS playlist for the JW Player</title>
<link>http://www.longtailvideo.com</link>
<item>
<title>Big Buck Bunny - FLV Video</title>
<link>http://www.bigbuckbunny.org/</link>
<description>Big Buck Bunny is a short animated</description>
<media:credit role="author">the Peach Open Movie Project</media:credit>
<media:content url="http://hwcdn.net/v9y9g7k9/fms/elles_400.flv.smil" type="video/x-flv" duration="33" />
</item>
<item>
<title>Big Buck Bunny - FLV Video</title>
<link>http://www.bigbuckbunny.org/</link>
<description>Big Buck Bunny is a short animated</description>
<media:credit role="author">the Peach Open Movie Project</media:credit>
<media:content url="http://hwcdn.net/v9y9g7k9/fms/elles_400.flv.smil" type="video/x-flv" duration="33" />
</item>
</channel>
</rss>>
An idea ?
Nov. 06, 2009hobbs
When you use a playlist, all of the File Properties flashvars must come from the playlist, with the exception of the streamer flashvar, which can be global (in your player code).
File Properties documentation: http://developer.longtailvideo.com/trac/wiki/FlashVars
var so = new SWFObject('player.swf', 'ply', '470', '470', '9.0.124', '#000000');
so.addParam('allowfullscreen', 'true');
so.addParam('allowscriptaccess', 'always');
so.addParam('wmode', 'opaque');
so.addVariable('file', 'test.xml');
so.addVariable('playlist', 'bottom');
so.addVariable('rtmp.loadbalance', 'true');
so.addVariable('type', 'rtmp ');
so.write('mediaspace');
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats">
<channel>
<title>MediaRSS Playlist for the JW Player</title>
<description>This is an example MediaRSS playlist for the JW FLV Player.</description>
<link>http://www.domain.com/</link>
<item>
<title>Big Buck Bunny - FLV Video</title>
<link>http://www.bigbuckbunny.org/</link>
<description>Big Buck Bunny is a short animated</description>
<media:credit role="author">the Peach Open Movie Project</media:credit>
<media:content url="http://hwcdn.net/v9y9g7k9/fms/elles_400.flv.smil" />
<jwplayer:duration>33</jwplayer:duration>
<jwplayer:type>rtmp</jwplayer:type>
</item>
<item>
<title>Big Buck Bunny - FLV Video</title>
<link>http://www.bigbuckbunny.org/</link>
<description>Big Buck Bunny is a short animated</description>
<media:credit role="author">the Peach Open Movie Project</media:credit>
<media:content url="http://hwcdn.net/v9y9g7k9/fms/elles_400.flv.smil" />
<jwplayer:duration>33</jwplayer:duration>
<jwplayer:type>rtmp</jwplayer:type>
</item>
</channel>
</rss>
Avoid using media file extensions such as flv, mp4, mp3, jpg, etc. in your URIs because it can trick the player into thinking that you want to load a media file instead of a playlist.http://hwcdn.net/v9y9g7k9/fms/elles_400.flv.smil
I don't have a Highwinds server to test against, so this may not be the full implementation that is required.
Nov. 06, 2009Pascal
now it's ok
thanks you ...
<jwplayer:type>highwinds</jwplayer:type>
not
<jwplayer:type>rtmp</jwplayer:type>
Nov. 06, 2009Pascal
;;;
run only with .flv, not with .mp4 ! :(
An idea ?
Nov. 06, 2009hobbs
You must be using an old v4.x player because type=highwinds is no longer supported by the v4.6 player.
Perhaps upgrading to the latest release of the v4.6 player will be useful.
http://developer.longtailvideo.com/trac/log/trunk/as3/player.swf
Click on the release that you want in the Rev column.
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.