
Adaptive bitrate and mrss with jwplayer 6
Hi,
In JWPlayer 5, I was using the mrss to handle adaptive bitrate :
e.g. :
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://developer.longtailvideo.com/">
<channel>
<title>big-[id][hash]</title>
<item>
<title>big-[id][hash]</title>
<description/>
<media:thumbnail url="http://static.local.hermes.fr/1/sante-forme/test/video/thumbnail/3333/43c9c/test-big-id-hash-tns2.gif"/>
<media:group>
<media:content bitrate="200" url="http://static.local.hermes.fr/medias/1/videos/3/3/3/3/43/streaming-43c9c.ssm/streaming-43c9c-200k.mp4" width="400"/>
<media:content bitrate="400" url="http://static.local.hermes.fr/medias/1/videos/3/3/3/3/43/streaming-43c9c.ssm/streaming-43c9c-400k.mp4" width="400"/>
<media:content bitrate="600" url="http://static.local.hermes.fr/medias/1/videos/3/3/3/3/43/streaming-43c9c.ssm/streaming-43c9c-600k.mp4" width="480"/>
<media:content bitrate="1000" url="http://static.local.hermes.fr/medias/1/videos/3/3/3/3/43/streaming-43c9c.ssm/streaming-43c9c-1000k.mp4" width="640"/>
</media:group>
<jwplayer:description/>
<jwplayer:title>big-[id][hash]</jwplayer:title>
<jwplayer:duration>89</jwplayer:duration>
<jwplayer:image>http://static.local.hermes.fr/1/sante-forme/test/video/hd/3333/43c9c/test-big-id-hash-img.gif</jwplayer:image>
<jwplayer:type>http</jwplayer:type>
<jwplayer:http.startparam>start</jwplayer:http.startparam>
</item>
</channel>
</rss>
With jwplayer 6, I don't find how to do the same thing.
Basically I'd like to use a HLS stream + a mrss (with adaptive bitrate) as a fallback for android devices.
The syntax I've already tried :
jwplayer('id_jwplayer').setup({
sources: [
{file: "http://static.local.hermes.fr/medias/1/videos/3/3/3/3/43/streaming-43c9c.ssm/streaming-43c9c.ism/streaming-43c9c.m3u8"},
{playlist: "http://club.local.hermes.fr/widget/get_video_mrss.php?id_media=43&salt=c9c"}],
height: "266",
width: "640",
primary: "flash"});
The playlist syntax works, but plays by default the first file in the mrss, without adaptive bitrate.
Is there any way to achieve this behavior ?
Thanks and regards,
Jocelyn Fournier