
Playlist could not be loaded error: 1088
Can someone help.
Getting the following error with JW player 5
Playlist could not be loaded error: 1088
Can someone help.
Getting the following error with JW player 5
Playlist could not be loaded error: 1088
Hi,
Getting another error:
Playlist could not be loaded error: 2048
Any clues
Can you provide a link to where you are running this?
http://globber.hostoi.com
Hi,
I'VE MADE A TEST PAGE.YOU CAN SEE THE ERROR HERE:
http://test-online.comlu.com/video/Hl3pjWbz134/mike-vs-tree-2-backyard-fight.html
Your playlist should look like this:bc.. <?xmlversion="1.0"encoding="UTF-8"?>
<rssxmlns:media="http://search.yahoo.com/mrss/"xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats"version="2.0">
<channel>
<title>MediaRSSPlaylist</title>
<description>ThisisanexampleMediaRSSplaylistfortheJWPlayer.</description>
<link>http://domain/</link>
<item>
<title>mikevstree2backyardfight</title>
<description/>
<media:contenturl="http://test-online.comlu.com/stream.php?v=Hl3pjWbz134"/>
<jwplayer:provider>video</jwplayer:provider>
<media:creditrole="author">Array</media:credit>
<media:thumbnailurl="http://img.youtube.com/vi/Hl3pjWbz134/0.jpg"/>
</item>
<item>
<title>mikevstree2backyardfight</title>
<description>mikevstree2perrinefightsbackyardfightsfight</description>
<media:contenturl="http://test-online.comlu.com/stream.php?v=Hl3pjWbz134"/>
<jwplayer:provider>video</jwplayer:provider>
<jwplayer:duration>134</jwplayer:duration>
<media:creditrole="author">trujillodragonhulk</media:credit>
<media:thumbnailurl="http://img.youtube.com/vi/Hl3pjWbz134/0.jpg"/>
</item>
<item>
<title>MikevsTreebackyardfight</title>
<description>treevsmikeperrinefightsbackyardfightfightstelemundoandcocainecowboysbattleground</description>
<media:contenturl="http://test-online.comlu.com/stream.php?v=pbH418e4DAk"/>
<jwplayer:provider>video</jwplayer:provider>
<jwplayer:duration>243</jwplayer:duration>
<media:creditrole="author">trujillodragonhulk</media:credit>
<media:thumbnailurl="http://img.youtube.com/vi/pbH418e4DAk/0.jpg"/>
</item>
<item>
<title>SkinnyMikevs.Tree</title>
<description>MySkinnyretardfriendvs.atree.THETREEWON!!!!(yesthisistheguywithayogaballjustweh</description>
<media:contenturl="http://test-online.comlu.com/stream.php?v=CIry0ZbesSg"/>
<jwplayer:provider>video</jwplayer:provider>
<jwplayer:duration>8</jwplayer:duration>
<media:creditrole="author">renandsilly</media:credit>
<media:thumbnailurl="http://img.youtube.com/vi/CIry0ZbesSg/0.jpg"/>
</item>
<item>
<title>mikeleroyvs.eviltree</title>
<description>mikeforgottotakehismedicineandgoesoffthedeepend.</description>
<media:contenturl="http://test-online.comlu.com/stream.php?v=yGg_xCGQxjo"/>
<jwplayer:provider>video</jwplayer:provider>
<jwplayer:duration>60</jwplayer:duration>
<media:creditrole="author">thenorris19</media:credit>
<media:thumbnailurl="http://img.youtube.com/vi/yGg_xCGQxjo/0.jpg"/>
</item>
<item>
<title>MikevsOakTree.mpg</title>
<description>MikevsOakTree</description>
<media:contenturl="http://test-online.comlu.com/stream.php?v=213dITeLmHY"/>
<jwplayer:provider>video</jwplayer:provider>
<jwplayer:duration>111</jwplayer:duration>
<media:creditrole="author">MrAbbymike</media:credit>
<media:thumbnailurl="http://img.youtube.com/vi/213dITeLmHY/0.jpg"/>
</item>
<item>
<title>MikevsTree</title>
<description>Towropetugowar</description>
<media:contenturl="http://test-online.comlu.com/stream.php?v=4ESvr_qxb1M"/>
<jwplayer:provider>video</jwplayer:provider>
<jwplayer:duration>12</jwplayer:duration>
<media:creditrole="author">stealthaltima</media:credit>
<media:thumbnailurl="http://img.youtube.com/vi/4ESvr_qxb1M/0.jpg"/>
</item>
</channel>
</rss>
How should i proceed.Should i put it in the same folder as the player?
You are not running the JW Player on your test page – http://test-online.comlu.com/video/Hl3pjWbz134/mike-vs-tree-2-backyard-fight.html
I was doing some test.You can check the page now.Still the same erro
Hi,
For some reason it looks like http://v8.lscache5.c.youtube.com/videoplayback?ip=64.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor&fexp=903103&algorithm=throttle-factor&itag=18&ipbits=8&burst=40&sver=3&expire=1269990000&key=yt1&signature=4D69229F18FA0039FE42D4B777869EA2C04D229B.1036E8B0FEEF60535512B13AD21497717F637089&factor=1.25&id=1e5de98d66f3d77e is forbidden.
I would update the yt.swf file which comes with the player – http://www.longtailvideo.com/players/jw-flv-player/
Also, I would make sure you have a crossdomain.xml file on your website’s root – http://wiki.longtailvideo.com/wiki/index.php/Crossdomain.xml
Hi,
I was already using the latest version of JW player.
What should i put in the crossdomain.xml ?
This issue started 2 weeks ago.My website was working fine for almost 1 year.
I meant the latest version of YT.swf
To test, I would make the crossdomain like this:
<?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="*" /> </cross-domain-policy>
That way you can test from all domains.
YouTube updated their API a couple of weeks ago, and it broke some older players, but since you have a newer player, nothing should have changed for you. I would update yt.swf to be sure though.
Hi,
Made the update and still nothing.Am using the following streaming code for youtube.Could you please tell me if it is right;
<?php
/**
=== Explaining YouTube formats ===
Widescreen videos:
6 = 320x180 @ FLV;
18 = 480x270 @ MP4;
22 = 1280x720 @ MP4;
35 = 640x360 @ FLV;
*/
$videoid=$_GET["v"];
$format = $_GET["fmt"];
if(empty($format)) $format = 18;
$content= file_get_contents("http://youtube.com/get_video_info?video_id=$videoid");
parse_str($content);
$url = "http://www.youtube.com/get_video.php?video_id=" . $videoid . "&t=" . $token. "&fmt=".$format;
$headers = get_headers($url,1);
if(!is_array($headers['Location'])) {
$url = $headers['Location'];
}else {
foreach($headers['Location'] as $h){
if(strpos($h,"googlevideo.com")!=false){
$url = $h;
break;
}
}
}
if(isset($_GET["debug"])){
print "URI: $url<br/>" ;
echo "<pre>";print_r($headers);
die("it's all folks!");
}
header("Location: $url");
This is a way of grabbing the YouTube FLV and stripping out the YouTube logo. YouTube updated their API and broke this for people. So if you want to use YouTube/JW Player, just do it through YT.swf.
@Christopher -
YouTube has indeed blocked direct access to their videos, since users who were doing that were violating YouTube’s terms of service.
So what should i change in this code so that i can stream again with youtube without stripping out the logo.
How should i make it?
Christopher,
You just need to link to the Youtube URL as your file flashvar, and it will work. You just need to make sure that the fill yt.swf is in the same directory as your main swf for the JW Player.
Best,
-Ethan
i have same problem. I have link to youtube video like this fr instance:
http://v16.lscache4.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id,expire,ip,ipbits,itag,algorithm,burst,factor&fexp=903103,904708,900303&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&expire=1268157600&key=yt1&signature=78B723A545820F1F766
and i have js code to run selected video like this
bc.. var streamer = '';
console.log(video);
if (reg = /^(rtmp:.*?):(.*?)$/.exec(video)){
streamer = reg[1];
video = reg[2];
player.sendEvent('LOAD', {'streamer':streamer, 'file':video});
}
else{
player.sendEvent('LOAD', {'file':video});
}
however it does not work with youtube videos saying "Playlist could not be loaded error: 2048"
how can i fix this?
please help!
@SET – Can you provide a link to where you are running this?
@SET -
This method for embedding YouTube content isn’t supported. Instead, set your “video” variable to official YouTube URL:
bc.. var video = “http://www.youtube.com/watch?v=[your video id]”;
Then load the video into the player as normal:
player.sendEvent('LOAD', {'file':video});
Here it is http://workplace.blackunicorn.ru/shantyman/www/
As you can see first video link is
http://v23.lscache6.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id,expire,ip,ipbits,itag,algorithm,burst,factor,oc:U0dXRlRSVV9FSkNNN19MTFlH&fexp=900037,907800&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&expire=1281477600&key=yt1&signatur
and it is not loaded. Maybe i taking video's URL from yutube in wrong way, show me correct then.
@SET -
You are indeed using an incorrect YouTube URL. You need the YouTube video ID, and you can find the ID from the official YouTube page for the video. For example, here’s a YouTube video page:
http://www.youtube.com/watch?v=ASinNr8zs1s
The YouTube video id would be ASinNr8zs1s.
To embed the YouTube video in the player, simply use the YouTube URL as described above.
I need help, Just today I received this error message - task queue failed at step 5 - Playlist could not be loaded due to crossdomain policy restrictions
@cathy -
This usually happens when the playlist XML file is hosted on a different domain from the player.swf. This is due to a limitation in the way Flash loads files across domains. You can circumvent this limitation by adding a crossdomain.xml file to the root of the domain hosting the playlist, or by hosting the player and playlist on the same domain.
http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12541/crossdomain-file-loading-restrictions