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

Youtube playlists no longer available


Greetings,

All my playlists from youtube stopped working on jwplayer. The console response from youtube api is "no longer available".

Do you have any solution for this problem?

Thank you,
Nelson

11 Community Answers

johanqnms

User  
0 rated :

Same problem for me.

www.franjatv.com

Don't show the playlist because now the urls from youtube shows:

NO LONGER AVAILABLE

http://gdata.youtube.com/feeds/api/playlists/A2BFD6D090E76976

Thanks

jherrieven

User  
0 rated :

Hot off the press:

http://dev.powered-by-haiku.co.uk/solutions/tubey/

James Herrieven

Randy

JW Player Support Agent  
0 rated :

Hello,

We are aware that YouTube has restricted certain aspects of their RSS feeds that affect external users ability to play videos. We believe this should only affect RSS feeds that are created within the YouTube account. You can try to manually configure your own RSS feed which may work in the interim.

The following code may work for the time being but may need adjusting later:

jwplayer().onReady(function() { jwplayer().playlistItem(1); jwplayer().stop(); });

Thank you again for your patience,
Randy

johanqnms

User  
0 rated :

1. How can we create our own RSS file?

2. We must create it in or host?

3. It's XML?

4. Where must we put your code?


Thanks

johanqnms

User  
0 rated :

I'm creating my own RSS acording with your documentation, but I don't understand anything. It's very confused

My RSS is:


--------------

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

<item>
<title>Franja TV</title>
<description>Franja TV Channel</description>
<jwplayer:image>/assets/sintel.jpg</jwplayer:image>
<jwplayer:source file="/assets/sintel.mp4" />
</item>

</channel>
</rss>

-----------

What I should put in SOURCE?

Your above code?

---

jwplayer().onReady(function() { jwplayer().playlistItem(1); jwplayer().stop(); });
---

And where I put the information of my Youtube Channel?


Thanks

jherrieven

User  
0 rated :

@johanqnms

The SOURCE should have the URL to one of the YouTube videos you wish to include in the playlist - http://www.youtube.com/watch?v=xxxxxxxxx

You then need to repeat the ITEM block for each YouTube video you wish to have in the playlist.

Ignore the code:
---
jwplayer().onReady(function() { jwplayer().playlistItem(1); jwplayer().stop(); });
---
It's intended to resolve a situation which is no longer relevant.

If you don't wish to build and manage your own playlists, I suggest you take a look at the solution I posted previously:

http://dev.powered-by-haiku.co.uk/solutions/tubey/

James Herrieven


cjmetfan

User  
0 rated :

https://www.youtube.com/feeds/videos.xml?playlist_id=PLAYLIST_ID
is the news way YouTube makes an RSS Feed from a playlist...unfortunately JW Player considers that CrossDomain instead of it being authentic

jherrieven

User  
0 rated :

Yeah, the issue with the new RSS feed URL is that YouTube haven't enabled the CORS headers which means they can't be accessed via XHR - It's not something JW have control over.

jherrieven

User  
0 rated :

Also... the feeds are not compatible with the Media RSS format that JW Player expects and they are clipped to 15 results with no apparent way to page through the full feed.

If you don't wish to manually create your own playlists, and are happy with only loading the latest 15 entries of a playlist, you could quite easily write a proxy which re-jigs the playlist into a compatible Media RSS format whilst removing the CORS restrictions...

Or you could just use my solution!

James Herrieven

johanqnms

User  
0 rated :

For example, your tutorial says:

Step 1: Add the library to your <head>

Where head? Where I should create a file? How I was using your componente and I only put the youtube link, where I must create the file?

Thanks

johanqnms

User  
0 rated :

--------------------------------------------------------------------------

Sorry, I haven't seen your answer. Forget my last message.

--------------------------------------------------------------------------

Ok,

I couldn't understand you very well about the URL.

1). In my componente I have the follow URL:

http://gdata.youtube.com/feeds/api/playlists/6AcET4zWLhwAGQY_7axWIna9-ElgNscD

Please check the image:

http://www.franjatv.com/soporte/jwplayer.png

2) You say me that I should create a RSS File with my videos, one by one, my question is: How can create that file?

Sorry for my english, but I haven't understand how fix my problem.

Thanks

This question has received the maximum number of answers.