Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Use of playlist: and listbar: on a free player


I'm getting the following messages on loading my page:

Error loading playlist:
Error loading file


My page is located at http://egbn.org/JWP6test/rssPlaylist.html.
Two questions:
1. Can I embed an RSS Playlist on a Free player?
2. Can I use a listbar on the same player?

James Dykes

14 Community Answers

ben1189

Best Answer 

1. Yes
2. Yes

Your link to rss broken

View in conversation

ben1189

Best Answer  User  
0 rated :

1. Yes
2. Yes

Your link to rss broken

Ethan Feldman

JW Player Support Agent  
0 rated :

Here is a template you can use – http://www.longtailvideo.com/sites/default/files/jw6-basic_0.rss

dykesje

User  
0 rated :

Ethan,
Why do you show in Step 2. of RSS Playlist Embed on the support site the following code as the first line of the .rss file:

<rss version="2.0" xmlns:jwplayer="http://rss.jwpcdn.com/">

which substantially differs from the first line of the template you suggest, which reads:

<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">

In addition the format for the descriptors for video file and image are different. Is that a significant difference?

Here's my rss file, in which I can find no significant difference from the template you suggested, yet it still failed.
What am I doing wrong.

<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>EGBN Basic RSS Feed</title>

<item>
<title>A Nation Of Agnostics</title>
<media:content url="http://egbn.org/JWP6test/A_Nation_of_Agnostics.mp4" />
<media:thumbnail url="http://egbn.org/JWP6test/Agnostics.png" />
</item>

<item>
<title>Jacobsen Area 51</title>
<media:content url="http://egbn.org/JWP6test/Annie_J_Area_51.mp4" />
<media:thumbnail url="http://egbn.org/JWP6test/AnnieJacobsen.png" />
</item>

<item>
<title>1 Peter 4 verse 10</title>
<media:content url="http://egbn.org/JWP6test/1Peter4-10.mp4" />
<media:thumbnail url="http://egbn.org/JWP6test/1Peter410.png" />
</item>

</channel>
</rss>

dykesje

User  
0 rated :

What did Ben1189 mean when he said the link to rss is broken? Where? What constitutes the link to rss?

Ethan Feldman

JW Player Support Agent  
0 rated :

Remove this from your embed code:

Access-Control-Allow-Origin: *.jwpcdn.com *.jwpsrv.com

http://egbn.org/JWP6test/myPlaylist.rss

=

Page Not Found

The page you tried to access does not exist on this server. This page may not exist due to the following reasons:

You are the owner of this web site and you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, click here for FTP Upload Information. The URL that you have entered in your browser is incorrect. Please re-enter the URL and try again. The Link that you clicked on incorrectly points to this page. Please contact the owner of this web site to inform them of this situation.

dykesje

User  
0 rated :

I also tried the .rss file above with the following line 1:

<rss version="2.0" xmlns:jwplayer="http://rss.jwpcdn.com/">

I am no longer getting any errors, but there is still no player or playlist appearing on screen.

J

Ethan Feldman

JW Player Support Agent  
0 rated :

Your file is not found.

http://egbn.org/JWP6test/myPlaylist.rss

Does not exist on your web server.

dykesje

User  
0 rated :

OK Ethan,

After revising the html code to read:

<!-- begin jw player -->
<script src="http://jwpsrv.com/library/YD_7Sg4wEeSl9SIACyaB8g.js" type="text/javascript">
</script>

<div class='homelink'><a href='http://egbn.org'><img src='home.png' width='32' height='32'

alt='Home' title='Home' /></a>
</div>
<p>JW6 video player</p>
<p>The Player is Loading...</p>
<div id='myElement'></div>
<script type="text/javascript">
jwplayer("myElement").setup({
playlist: "http://egbn.org/JWP6test/testplaylist.xml",
width: '100%',
aspectratio: '16:9'
});
</script>
<!-- end jw player -->

And revising the rss xml code to read just like the example in RSS Playlist Embed, Step 2:

<rss version="2.0" xmlns:media="jwplayer="http://rss.jwpcdn.com/">
<channel>

<item>
<title>A Nation Of Agnostics</title>
<description>A CNN Video detailing the decline of worship</description>
<jwplayer:source file="http://egbn.org/JWP6test/A_Nation_of_Agnostics.mp4" />
<jwplayer:image>http://egbn.org/JWP6test/Agnostics.png<jwplayer:image>
</item>

<item>
<title>Jacobsen Area 51</title>
<jwplayer:source file="http://egbn.org/JWP6test/Annie_J_Area_51.mp4" />
<jwplayer:image>http://egbn.org/JWP6test/AnnieJacobsen.png<jwplayer:image>
</item>

<item>
<title>1 Peter 4 verse 10</title>
<jwplayer:source file="http://egbn.org/JWP6test/1Peter4-10.mp4" />
<jwplayer:image>http://egbn.org/JWP6test/1Peter410.png<jwplayer:image>
</item>

</channel>
</rss>

Why am I still getting

Error loading playlist:
Error loading file

??????

rssPlaylist.html
testplaylist.xml

dykesje

User  
0 rated :

Why in Step 3: of support doc RSS Playlist Embed do you list as an example of file for playlist:

playlist: "http://example.com/uploads/myPlaylist.rss",

when an RSS file must be an xml file. A file with extension .rss won't even be opened by a browser, ergo the error

Page Not Found

The page you tried to access does not exist on this server.

Ethan Feldman

JW Player Support Agent  
0 rated :

You forgot to close your jwplayer:image end tags.

This is a working playlist:

<?xml version=“1.0” encoding=“UTF-8” ?>
<rss version="2.0" xmlns:jwplayer="http://rss.jwpcdn.com/">
<channel>
<title>EGBN Basic RSS Feed</title>
<link>http://www.egbn.org</link>
<description>Three Sample Videos</description>
<item>
<title>A Nation Of Agnostics</title>
<description>A CNN Video detailing the decline of worship</description>
<jwplayer:image>http://egbn.org/JWP6test/Agnostics.png</jwplayer:image>
<jwplayer:source file="http://egbn.org/JWP6test/A_Nation_of_Agnostics.mp4" />

</item> <item> <title>Jacobsen Area 51</title> <jwplayer:image>http://egbn.org/JWP6test/AnnieJacobsen.png</jwplayer:image> <jwplayer:source file="http://egbn.org/JWP6test/Annie_J_Area_51.mp4" /> </item> <item> <title>1 Peter 4 verse 10</title> <jwplayer:image>http://egbn.org/JWP6test/1Peter410.png</jwplayer:image> <jwplayer:source file="http://egbn.org/JWP6test/1Peter4-10.mp4" /> </item> </channel> </rss>

dykesje

User  
0 rated :

Why does this version of JWP not accept .xml files as playlists as previous versions did?

Ethan Feldman

JW Player Support Agent  
0 rated :

It works with .xml just fine.

Did you test my changes? Your XML file was lacking closing image tags…

dykesje

User  
0 rated :

It now works, and I'm using an xml file. See root url.

Ethan Feldman

JW Player Support Agent  
0 rated :

Great.

This question has received the maximum number of answers.