
RSS Feed with difference source types
I am attempting to create a playlist with videos from my local server as well as from YouTube. I realized I would have to use the RSS feed for this, and have created one. The issue is that if I put the locally-hosted video first on the RSS, the YouTube video does not show up.
If I reverse them, it works fine. What is up with this? Here is the RSS with the YouTube video listed first, which will not work for me.
<rss version="2.0" xmlns:jwplayer = "http://rss.jwpcdn.com/">
<channel>
<item>
<title>Video 1</title>
<description>Second video</description>
<jwplayer:image>mainbp.jpg</jwplayer:image>
<jwplayer:source file= "http://www.youtube.com/watch?v=kKEP4HyKlLk"/>
</item>
<item>
<title>VIDEO 2</title>
<description>THIS IS THE FIRST VIDEO</description>
<jwplayer:image>maersk_videoBP.jpg</jwplayer:image>
<jwplayer:source file= "castellano.mp4" />
</item>
</channel>
</rss>
Here is my markup:
<!-- begin jw player -->
<div id="myElement">All Hands video player goes here</div>
<script type="text/javascript" src="jwplayer/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key="Z6ZZ2qZLCKtWiiSx/kGEY94Ro7kp3+/ymsxvsw==";</script>
<script type="text/javascript">
jwplayer("myElement").setup({
playlist: "myPlaylist.rss",
flashplayer: "jwplayer/player.swf",
listbar:{
position:"bottom",
display:"basic"
},
width: "100%",
aspectratio: "16:9",
sharing: {}
});
</script>
<!-- end jw player -->
</div>
Thanks!
David