Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

YouTube Playlist in JW Player?

6 replies [Last post]

I want to use a YouTube playlist to populate the JW Player Playlist. I read the "YouTube Playlist 2009" post entirely and it appears in there that people got this working and I did exactly that, but I'm still not getting the player to actually play. Anyone have any ideas why not?

Here is my code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>
<head>
<script type="text/javascript" src="http://www.salivatestkitsstore.com/_embed/jwplayer/swfobject.js"></script>
</head>
<body>
<div id="player" class="player"><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Adobe Flash Player to see this video.</a></div>

<script type="text/javascript">
var so = new SWFObject('http://www.salivatestkitsstore.com/_embed/jwplayer/player-viral.swf', 'mpl', '640', '640', '9.0.124');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('allownetworking','all');
so.addParam('wmode','opaque');
so.addVariable('backcolor','EEEEEE');
so.addVariable('frontcolor','4C4C4C');
so.addVariable('lightcolor','4787AE');
so.addVariable('screencolor','FFFFFF');
//...playlist
so.addVariable('file','http://gdata.youtube.com/feeds/api/playlists/AF56839CD71C6069');

so.addVariable('playlist','bottom');
so.addVariable('playlistsize', '200');
so.addVariable('stretching','exactfit');
so.write('player');
</script>
</body>
</html>

The playlist loads up fine, but none of the videos will play. I just get the spinning bar. Anyone have any ideas?

You are probably missing the YouTube proxy yt.swf, which must be placed in the same directory as the Flash movie.

yt.swf is available here if you need it. http://developer.longtailvideo.com/trac/browser/trunk/as3

I actually already have the yt.swf in place. All I get is a loading icon that never plays the video.

You have an old, incompatible version of the YouTube proxy at http://www.salivatestkitsstore.com/_embed/jwplayer/yt.swf

Why would you spend the time to import a YouTube playlist into JW, spend all the time to configure it etc, when you can simply copy YouTube's CODE and paste it into your page?

Makes no sense at all. Then you end up with 2 water marks on your videos.,

I like the look of the JW Playlist better than YouTube playlist player. JW playlist player lists all the video below in a list and you can see all the titles and descriptions in full. Where YouTube's very uncustomizable playlist player has all the videos on the side in 2 columns and many of the titles get cut off. This playlist player is simply better formatted on the JW version.

So hopefully that does make sense to you and by the way you can get the JW watermark off by purchasing a license. So I have one watermark with a great user interface to play a YouTube Playlist.

Thanks Envision I'll check on my yt.swf and get back to this thread on if it worked.

man this is simple you have the videos in youtube then just download the videos from youtube and upload to your hosting with your player and bingo.
if dont have a lot of bandwith then upload to a free hosting there's many and simply just copy the html to your site and Bingo.
I found a php file that lets you call videos from youtube and play then in your site without the yutube watermark and you can ad your own but the file does not work with this player im trying to get a hold of that file if i do i let you guys know so you can use it in your site