Bitrate Switching in xml playlist not loading video

Posted by James Williams on Stack Overflow See other posts from Stack Overflow or by James Williams
Published on 2010-12-30T19:29:47Z Indexed on 2011/01/04 2:54 UTC
Read the original article Hit count: 415

Filed under:
|
|
|

Using JW Player ver 5.4 and JW Embedder. Plugins are grid by Dabbler and fbit (Facebook). The Bitrate switching is not working. Does work fine for one video with HTML5 Video tag. When more than one video, it only shows the first video pic. Works fine with no bitrate switching.

Code - HTML5

<script type="text/javascript" src="jwplayer/jwplayer.js"></script>
<video id="container"></div>
<script type="text/javascript">
jwplayer("container").setup({
    flashplayer: "jwplayer/player.swf",
    streamer: "rtmp://server/location/",
    playlistfile: "playlists/playlist.xml",
    plugins: {
        grid: { rows: 4, distance: 60, horizontalmargin: 75, verticalmargin: 75 },
        fbit: { link: "http://www.domain.com" }
    },
    height: 375,
    width: 850,
    dock: true
});
</script>

XML - ATOM/MEDIA

xmlns:jwplayer='http://developer.longtailvideo.com/trac/wiki/FlashFormats'> Demostration Playlist

Video 1 rtmp rtmp://server/location/ Video 2 rtmp rtmp://server/location/

have tried it with both video and div tags for the container. Div tag just shows a blank video area and a Null exception on Line 1 char 1863, this is probably the jwplayer.js file. XML is larger than this, this is to give you a brief syntax of my code and xml. I have searched for over 6 hrs on both longtail and search engine searches. Thank you in advance.

© Stack Overflow or respective owner

Related posts about Xml

Related posts about jwplayer