
Using an RSS feed
I am trying to use an RSS feed in my website but can't get it to work.
The web page is: http://totaltalkfm.com/rss.html
Please could anyone advise what I am doing wrong?
Thanks
I am trying to use an RSS feed in my website but can't get it to work.
The web page is: http://totaltalkfm.com/rss.html
Please could anyone advise what I am doing wrong?
Thanks
You need to use mRSS for JW6 – http://www.longtailvideo.com/support/jw-player/29253/basic-rss-feed
How do I configure mRSS in feedburner?
Thanks
This is the feed: http://feeds.feedburner.com/MyobShowBlogTalkRadioFeed
These feeds simply don’t work in the player – http://feeds.feedburner.com/MyobShowBlogTalkRadioFeed?format=rss
Thanks for your advice.
What RSS feeds work best?
Regards
It's not the traditional RSS you're probably thinking about. To the best of my limited knowledge, JW Player RSS doesn't rely on a 3rd party RSS server like Feedburner and you don't need an aggregator. The way I use RSS playlists for JW Player is much more simpler:
<ol>
<li>As far as I can tell, you must test RSS playlists online. So don't expect any results if you test locally. So make sure that...:</li>
<ul>
<li>...you have all of your files on a server like Amazon S3 or Rackspace.</li>
<li>...you keep things simple, and upload all of your files in the same directory (folder).</li>
</ul>
<li>At the minimum you should have the following files:</li>
<ul>
<li>Webpage: index.html</li>
<ul>
<li>Place a jwplayer embed here.</li>
<li>The setup is slightly different than a normal embed.</li>
</ul>
<li>Media: song1.mp3, song2.mp3, song3.mp3 or clip1.mp4, clip2.mp4, clip3.mp4</li>
<ul>
<li>Just like a normal embed, you can setup your media for browser compatibility and include ogg and webm equivalents.</li>
<li>My setup has mp3 and ogg so Chrome and Firefox users can access and play the media.</li>
</ul>
<li>Playlist: playlist.rss or playlist.xml</li>
<ul>
<li>It doesn't matter what extension you use, .rss and .xml are considered the same in this situation.</li>
<li>Don't use Media or Vanilla RSS, it's better that you use JWPlayer RSS to write playlist.rss(.xml).</li>
</ul>
</ul>
Because of _cross-domain_ issues, keep the playlist on the same domain as you're webpage is on. In fact just to be safe, keep everything on the same sub-domain as well. Don't put the playlist on http://sub.domain.com and webpage on http://www.domain.com. Even though it should be ok, it's best to keep things simple so you can use a playlist right away. After you succeed with the basics, then you can do more advanced things with CORS, iframes, proxies, etc...
If the following example existed, you would have a working JW Player RSS playlist at:
http://s3-us-west-1.amazonaws.com/folder/folder/index.html
*Webpage: index.html*
bc.. <!-- Webpage: index.html -->
<!DOCTYPE html>
<html>
<head>
<title>JW Player Audio RSS Playlist Demo</title>
<meta charset="utf-8">
<script type="text/javascript" src="http://p.jwpcdn.com/6/8/jwplayer.js"></script>
</head>
<body>
<div id="jwPlayer">If you see this, something is wrong......</div>
<script type="text/javascript">
jwplayer("jwPlayer").setup ({
playlist: "playlist.rss",
width: "330",
height:"30"
})
</script>
</body>
</html>
*Playlist: playlist.rss*
bc.. <rss version="2.0" xmlns:jwplayer="http://rss.jwpcdn.com/">
<channel>
<item>
<title>Song 1</title>
<description>MP3/OGG for Chrome/Firefox </description>
<jwplayer:source file="http://s3-us-west-1.amazonaws.com/folder/folder/song1.mp3" />
<jwplayer:source file="http://s3-us-west-1.amazonaws.com/folder/folder/song1.ogg" />
</item>
<item>
<title>Song 2</title>
<description>Even though your mp3/ogg files are in the same folder, use an absolute URL</description>
<jwplayer:source file="http://s3-us-west-1.amazonaws.com/folder/folder/song2.mp3" />
<jwplayer:source file="http://s3-us-west-1.amazonaws.com/folder/folder/song2.ogg" />
</item>
<item>
<title>Song 3</title>
<description>Be consistent with URLs, http://folder.s3.amazonaws.com/folder/song3.mp3 is the same location, but you may get undesirable results</description>
<jwplayer:source file="http://s3-us-west-1.amazonaws.com/folder/folder/song3.mp3" />
<jwplayer:source file="http://s3-us-west-1.amazonaws.com/folder/folder/song3.ogg" />
</item>
</channel>
</rss>
_*REMEMBER*_
<ul>
<li>index.html</li>
<li>playlist.rss</li>
<li>song1.mp3</li>
<li>song1.ogg</li>
<li>song2.mp3</li>
<li>song2.ogg</li>
<li>song3.mp3</li>
<li>song3.ogg</li>
</ul>
are all in the same folder.
We have a sample RSS here – http://www.longtailvideo.com/sites/default/files/jw6-basic_0.rss
Thanks Ethan & Matt for your advice.
I have tried my set up using the sample RSS but still no luck.
Any further advice? Thanks
My set up is:
bc.. <head>
<script src="http://jwpsrv.com/library/iuyYTNbPEeKboSIACqoQEQ.js"></script>
</head>
<body>
<center>
<p><div id="totaltalkfm"></div></p>
<script>
jwplayer("totaltalkfm").setup({
playlist: 'http://www.longtailvideo.com/sites/default/files/jw6-basic_0.rss'
});
</script>
</body>
If you have your webpage on longtailvideo.com, this would work. Where are you setting up your page? I don't have access to longtailvideo.com, so I use my server and upload my webpage there. Of course my domain: amazonaws.com is totally different than longtailvideo.com, so I get the following error:
bc.. XMLHttpRequest cannot load http://www.longtailvideo.com/sites/default/files/jw6-basic_0.rss. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://s3-us-west-1.amazonaws.com' is therefore not allowed access.
So I'm only gonna say this one more time, "Start by having all of your files *in one folder, in one domain.* I wish that someone had explained things to me like I did for you when I was asking the same question you're asking. The support documents for JW Player is lame, it's not really written for a beginner, it's useful as a reference for more experienced and knowledgeable ppl at best. What Ethan has given you is an example, not a solution. So my earlier post is just about as much as I could help, good luck.
Do you have a link Martin?
This is the link:
http://totaltalkfm.com/rss.html
Thanks
Can you put the playlist on your own server?
Unfortunately my playlists are on a third party server which is not the server the website is on. Is this the problem?
It might be for html5. What is primary is set to flash?