Hello
i try to make playlist with smil file of highwinds
... so.addVariable('type','highwinnds'); ...
but it don't run
An idea ?
Thanks
Hello
i try to make playlist with smil file of highwinds
... so.addVariable('type','highwinnds'); ...
but it don't run
An idea ?
Thanks
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 ?
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');
<strike><strong>so.addVariable('type', 'rtmp ');</strong></strike>
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<strike><strong>.flv</strong></strike>.smil
I don't have a Highwinds server to test against, so this may not be the full implementation that is required.
now it's ok
thanks you ...
<jwplayer:type>highwinds</jwplayer:type>
not
<jwplayer:type>rtmp</jwplayer:type>
;;;
run only with .flv, not with .mp4 ! :(
An idea ?
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.
Ive tried every way possible but cant get mp4 file to play from highwinds. Could someone post some working code?
Ive tried adding:
so.addVariable('rtmp.loadbalance','true');
so.addVariable('rtmp.subscribe','true');
so.addVariable('provider','rtmp');
In every combination, the file = the path to the smil file. This works in flowplayer so I know the smil is good.
The combination of file, provider and rtmp.loadbalance will do the trick. The rtmp.subsribe flashvar is for something different.
I figured that but it wont work. It does work with flowplayer though, here is my code:
var so = new SWFObject('player.swf','mpl','1280','740','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque'); so.addVariable('file','http://hwcdn.net/k5z4x7g2/fms/RUS_MainMenu.flv.smil');
so.addVariable('backcolor','1f1f1f');
so.addVariable('frontcolor','f1f1f1');
so.addVariable('lightcolor','f1f1f1');
so.addVariable('screencolor','1f1f1f');
so.addVariable('provider','rtmp');
so.addVariable('rtmp.loadbalance','true');
so.addVariable('stretching','none');
so.write('mediaspace');
Hmm - it looks like the rtmp.loadbalance variable hasn't made it into the 5.0 player yet! We'll discuss this.
Note that you can still use the "type=highwinds" flashvar. Works great if I test your video (with the soldiers) in 5.0.
hmm, cant seem to get that working either.
var so = new SWFObject('player.swf','mpl','1280','740','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque'); so.addVariable('file','http://hwcdn.net/k5z4x7g2/fms/RUS_MainMenu.flv.smil');
so.addVariable('backcolor','1f1f1f');
so.addVariable('frontcolor','f1f1f1');
so.addVariable('lightcolor','f1f1f1');
so.addVariable('screencolor','1f1f1f');
so.addVariable('type','highwinds');
so.addVariable('stretching','none');
so.write('mediaspace');
aight so I just dropped the 4.6 swf player in there and it works as expected. Ill wait for a 5.x release that fixes it.
Thanks!
I've gone ahead an opened a ticket for this:
http://developer.longtailvideo.com/trac/ticket/647
Thanks Zach!
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