Go
Not registered? Sign up!

FLV URL Fetcher Service

Google Translate
204 posts | return to the Modules forum | get the rss feed for this thread

Jul. 17, 2007Andy

Hi All,

With much interest I have been following the discussions in this forum. We all like Jeroen's player a lot, and we all struggle with the same problem: How to obtain the FLV URL for a video. Sometimes it is easy, sometimes it is not. Often the video sites make changes which make it more difficult.
Thankfully there are people here who post PHP code snippets which help to get around some problems. The problem is, that often this code must be modified. What works today often won't work in 6 weeks from now.

I would like to offer a service for all those of you, who are interested in streaming video off Youtube, Guba, Break, iFILM, Metacafe and the likes, but are tired of constantly making changes to the PHP or ASP code. It's something of a fire and forget solution.

Here is how it works:
You have to send a request to my server like this:
[url=http://www.trapvid.com/fetcher.php?vurl=http%3A//www.youtube.com/watch%3Fv%3DVSdxqIBfEAw]http://www.trapvid.com/fetcher.php?vurl=http%3A//www.youtube.com/watch%3Fv%3DVSdxqIBfEAw[/url]
The URL String must be URL ENCODED.

As a result you get an output page which (currently) looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Video Information provided by trapvid.com, Date-->
<source>
youtube
</source>
<title>
We Are Sinking (German Coast Guard) (Berlitz Ad)
</title>
<video_url>
http://lax-v120.lax.youtube.com/get_video?video_id=VSdxqIBfEAw
</video_url>
</rss>

You can parse through the output to obtain the information you wish to process. Of course there will be much more information included in just a few days, such as:
- video description
- video thumbnails
- video upload date
- duration (if applicable)
- tags, keywords (if available)
- what else? Ideas?

Currently this script supports the following sites:
aol, break, bolt, dailymotion (dynamic FLV URL changes very often), ebaum's world, google, guba, ifilm (dynamic FLV URL changes frequently), liveleak, livevideo, metacafe, myspace, revver (only MOV download), streetfire, putfile, veoh, vsocial, youtube, zippyvideos

Am I missing a important site here? Please let me know. I'm planning on keeping all these sites updated and working (unlike so many FLV downloaders which stop working after a while) and one trade off will be that my site won't be supporting 53 video sites, but will remain focussed on the essential ones to make sure that they really work.

Feedback is always welcome. wink

Thank you all,
Andy

Jul. 17, 2007Will

Nice.

We also need (he greedily declares) imeem, Internet Archive, www.divvio.com, and I'll post more as I remember/run across them. #)

Jul. 17, 2007SaWey

Here are some video sites I supported a while ago (a lot of them are already listed):

google, youtube, metacafe, glumbert, tinypic, yahoo, photobucket, atomfilms, myspace, revver, gamevideos, gametrailers, ifilm, liveleak, bolt, addictingclips, veoh, dailymotion, grouper, stupidvideos, break, hollywoodupclose, collegehumor, theonion, youaretv, vsocial, heavy, garagetv, flurl, vmix, zippyvideos, blastro, expertvillage, flickdrop, godtube, gofish, myvideo, jibjab, livedigital, livevideo, scenemaker, sharkle, thevideosense, vidilife, zooppa

Jul. 19, 2007Niek

Please add Gofish

Jul. 20, 2007Andy

Hi All,

I'll see what I can do to add a few more sites within the next few weeks. Meanwhile, the thumbnail URL has been included in the output wherever possible.

Jul. 26, 2007john

the xml output aint visible... i get plain text instead of XML...

Jul. 26, 2007Andy

@John

You're sure you checked the source code of the returned page?

Aug. 16, 2007Erik

Hey Andy,

Awesome work! Are you planning on maintaining this site for a while? I think the mechanism you've come up with is awesome (nothing else seems to work). I've tried myself and failed. Would love to be enlightened with the knowledge of "how'd he do that!"

-Erik

Aug. 17, 2007Andy

Hello Erik,

Thanks for your comments. Much appreciated.
Yes, we're planning on keeping the site updated. Sometimes some videos may not work, but we'll try to fix all problems as soon as possible. Since keeping track of all the changes is rather time consuming, we will not greatly expand the list of supported sites. Instead we'll focus on a few but make sure they work.
In any case we depend on feedback from the community to inform us about problems with videos.

> Would love to be enlightened with the knowledge of "how'd he do that!"
Any particular site you're interested in? wink

Aug. 17, 2007Erik

Well MySpace is interesting, because they have since disassociated their VideoID variables (found in the URL) with the actual storage location of the FLV. I have a FireFox plugin that does it, but how it found it was a mystery to me! As a PHP developer I was stumped and intrigued.

Aug. 17, 2007Andy

Yes, MySpace is a bit different in that it requires you to take the video ID and use it in the following URL:
http://mediaservices.myspace.com/services/rss.ashx?type=video&mediaID=<VIDEO_ID>
The returned output is an XML file in which you can find everything (flv, thumbnail, name, ...).

Example:
[url=http://mediaservices.myspace.com/services/rss.ashx?type=video&mediaID=10288714]http://mediaservices.myspace.com/services/rss.ashx?type=video&mediaID=10288714[/url]

Returns:
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss" xmlns:myspace="http://myspace.com/">
<channel>
<title>MySpace</title>
<description>MySpace</description>
<link>http://myspace.com/130298267</link>
<lastBuildDate>Fri, 17 Aug 2007 12:11:54 GMT</lastBuildDate>
<docs>http://myspace.com</docs>

<generator>ELS2MWEBNET0630</generator>
<myspace:friendID>130298267</myspace:friendID>
<item>
<title>CELL GUN CELL</title>
<pubDate>Fri, 17 Aug 2007 12:11:54 GMT</pubDate>
<media:thumbnail url="http://myspace-739.vo.llnwd.net/02034/93/78/2034768739_thumb0.jpg" />
<media:content url="http://content.movies.myspace.com/0020347/93/78/2034768739.flv" type="video/x-flv" medium="video" duration="24" />

<myspace:mediaID>2034768739</myspace:mediaID>
<myspace:mediaSource>Video</myspace:mediaSource>
<myspace:itemID>2034768739</myspace:itemID>
<myspace:itemType>Video</myspace:itemType>
<myspace:friendID>130298267</myspace:friendID>
</item>

</channel>
</rss>


You can try it for different videos. It's quite easy actually.

Aug. 17, 2007Erik

Wow, that's surprisingly simple. I hadn't even thought to use that aggregator (this may be the first time I've seen that file).

Thanks for the help!

Aug. 25, 2007Andy

@Erik: You're quite welcome. I hope it has been working fine.

A few updates:
1. Added support for GOFISH #), PORNFO :$, STAGE6 #) & YOUPORN :$.

2. Removed BOLT.COM ("Please be advised that the operations of Bolt, Inc. and Bolt.com have ceased") sad

3. Fixed YouTube. It was out of order for a short time.

Aug. 27, 2007AJ

Andy you are the man! This is possibly one of the greatest services to mankind haha. I hope you can keep up with all the changes that seem to take place so regularly. Thanks again!

Aug. 27, 2007AJ

@Andy

Is there anyway to return the length variable off youtube?

Aug. 28, 2007Andy

@AJ
Yes, that is possible. I shall add the length value (seconds)to my script for all sources where it is possible (YT included). I'll post here when it's done.

Sep. 02, 2007Erhan

" http://vp.video.google.com/videodownload?version=0&secureurl=tgAAAKUqzOONCy7LYNs6K8Ol-6TGrlaIh69Q82y8pO82E7ocgYnCv-hKRiF0KMq_IvgZgsNdAJVQ9MU9rOMGaBocV2nRLBX-gPar1AGfzdzO_W-Pmj-7WOCykMQqWmYI6cQtOiZzvYvyQ6oij2Q4Kye7CCf_C1UXbFU-7EcH8bUnUzgHDiH9AlCc10XLufw_3L_pebswB9l5ZEZvjZyecbLcPLEU7EBi00iV4FIEPn23R4alemfyAZlCWwgY4QpIJJcxLg&sigh=xC7e_qj23nF2tAAxBvHxofEFYR4&begin=0&len=147200&docid=7352118104883452737 "

this google video link.

how playing jw flv or media players thanks

Sep. 07, 2007Matt

Andy, great service! I'd like to talk to you offline via e-mail if you don't mind. intrfear@gmail.com Thanks!

Sep. 07, 2007Matt

How do you get around the Token URls with Break?
MetaCafe has some funky Urls I can't get me head around
http://akvideos.metacafe.com/ItemFiles/%5BFrom%20www.metacafe.com%5D%20805301.4838957.11.flv

http://akimages.metacafe.com/f/fvp/EmbedVideoPlayer_5.1.0.0.swf?itemID=805301&mediaURL=http://akvideos.metacafe.com/ItemFiles/%5BFrom%20www.metacafe.com%5D%20805301.4838957.11.flv&normalizedTitle=bmw_baghdad_rider&isViral=false&isWatermarked=false&postrollContentURL=http://akimages.metacafe.com/f/fvp/EmbedItemSelector_3.0.0.4.swf&networkingAllowed=true&
ttp://akstatic2.metacafe.com/thumb/805301/4838951/4/rss_feed6/0/bmw_baghdad_rider.jpg
http://akvideos.metacafe.com/ItemFiles/%5BFrom%20www.metacafe.com%5D%20805301.4838957.11.flv

Sep. 09, 2007Matt

I guess your Curl'n these.

Sep. 09, 2007Thomas

Hi Andy,

How do I output <video_url> using PHP 5?

I think I have to use simplexml (PHP5 and higher only) but nothing works.

Sep. 10, 2007Andy

@Matt: E-mail me at: trapper at trapvid dot com

@Thomas:
I'm afraid I don't quite follow. Could you elaborate a little bit? Perhaps also e-mail me.

@Erhan:
I found that Google URLs only work well with JW's player when putting the URL into a playlist (XML) file, rather than putting the URL itself in the flash vars.

Oct. 08, 2007Andy

Some updates:
Added support for BLIP.TV and Movieweb.com, fixed Dailymotion which was not working for a little while.

Oct. 09, 2007Billy Bateman

I just found this forum and was just wondering, what is the main website that runs all this service, cant find it on this forum.

Oct. 11, 2007Umm...

@Andy..

Your site is 'Bloody Great'!

Have been using it for 'YouTube' videos, (though they seem permanant?).

>>But...

When try to parse your page with a 'GoFish' result, it doesn't work...??


<?xml version="1.0" encoding="UTF-8" ?>
<!-- Video Information provided by trapvid.com, Date-->
<source>
youtube
</source>
<title>
We Are Sinking (German Coast Guard) (Berlitz Ad)
</title>
<video_url>
http://lax-v120.lax.youtube.com/get_video?video_id=VSdxqIBfEAw
</video_url>
</rss>


Can grab the link easily....
Well, other sites through you too....

When trying 'GoFish', it just won't have any of it, though essentially, because it's still through 'TrapVid', it's the same......

Confused...?? 8)

Oct. 12, 2007Umm...

>>Ignore the last message!

Think it was because '&' characters were messing it up.

Oct. 12, 2007Umm...

##Main site wanted though is 'MegaVideo'.

Then can stream mass files....

Any chance..??

Oct. 15, 2007method

could any one post a php script that converts youtube playlist so that it work with jeroenwijering flash playr?Thanks

Oct. 16, 2007method

Hi all. Author thanks for sharing this method. could you should me how i in php i can send your script a group of youtube url and get direct link for the flv file? I need those get those direct links so i be able to play youtube videos using jw player. I think jw player only accepts direct link to flv files.My whole intenetion is to convert a series of youtube urls to direct links and then use those direct links in jw player xml to play them. I be happy if some one help me here.Thanks

Oct. 16, 2007Umm...

@Method...

* Just go to 'TrapVid.com'... (The main page).
* Put the url to your 'YouTube' video in the search bar...
* Copy the download link & paste it in your '.xml' playlist....

> 'YouTube' video links are permanant.

Oct. 17, 2007method

Umm but i have a list of youtube url in mysql db . It is dam hard to do it manually. Is there a way to do this automatically using php or vb6?

Oct. 18, 2007Kewlman

Hi Andy,
Really Awesome man.It is really woderful.
Are you planning to support VideoJug.com

Oct. 19, 2007Andy

@Kewlman
Thanks! No immediate plans on VideoJug, but I'll check it out and consider it. wink

Oct. 19, 2007wessite

this seems a great system,

but for the fastest page loads on your website shouldn't you have some sort of cache system, where the data gets refreshed say once a day.

or is the fetching of the data not that time robbing ?

greets

[url=http://www.bmxaction.net]bmxaction.net[/url]

Oct. 19, 2007sqsza

yfrfgpegfàrtio_è"zebvfjb

Oct. 21, 2007Andy

@wessite:
Caching would mean that I have the information already 'pre-fetched' somewhere which I don't. If the site became popular and 100s of thousand of videos were being fetched using the script every day, caching the contents however would become a necessity, I give you that.
Legal implications concerning hot-linking are most likely to arise sooner or later and some sharks will put an end to the site before this even becomes an issue.

Oct. 22, 2007Kewlman

Hi Andy,
I was trying to use your method to find FLV URLs for some of the sites you listed. But some of them like metacafe, aol etc were not working. Can you post the samples of string format that we need to send to trapvid for all the sites you support. Meanwhile do you think that the youtube FLV links are permanent.

Oct. 22, 2007Andy

@Kewlman:
Thanks for the feedback. Metacafe was broken, but it is fixed now.
Try:
http://www.trapvid.com/fetcher.php?vurl=http://www.metacafe.com/watch/881033/amazing_scene/

Uncut.aol.com was working for me when I tested it a few mins ago. Can you post a URL to a video which did not work for you?

As for Youtube, the URLs are permanent, however, YT has been changing its FLV URL format from something like "http://lax-v120.lax.youtube.com/get_video?video_id=VSdxqIBfEAw" into something like "http://cache.googlevideo.com/get_video?video_id=3iVP0tzwhVc&origin=ash-v98.ash.youtube.com"
Right now there is a nice mix of old URLs and new URLs and it seems that YT slowly converts the old format into the new format.

I am not sure if those links are now permanent or if they change. Since frequent checking is recommended anyways, it may also be a good move to check the FLV file and in case it no longer responds to re-fetch it (unless the vid is offline, of course, and that happens a lot on YT lately, they soooo suck).


@sqsza
Right. grin

Oct. 24, 2007Kewlman

Hi Andy,
Thanks a lot for the info. While i was working on the two types of URL which YT uses i saw that the JW FLV Player doesnt play this type of URL "http://cache.googlevideo.com/get_video?video_id=3iVP0tzwhVc&origin=ash-v98.ash.youtube.com".
Do you know how i can get this to work when i give the link as a variable in the html embed code. Great going man. This is really an awesome service.

Oct. 24, 2007Will

@Kewlman,

If your link doesn't have a media file extension (flv, swf, jpg, etc.), then you must set the 'type' flashvar to tell the player what type of media it will be receiving.


so.addVariable('type', 'flv');

or in a playlist:

<track>
<creator>Silly Stuff</creator>
<title>some Crazy video from YouTube</title>
<location>http://cache.googlevideo.com/get_video?video_id=3iVP0tzwhVc&origin=ash-v98.ash.youtube.com</location>
<meta rel="type">flv</meta>
<image>http://img.youtube.com/vi/Mc-7YlBYWc4/2.jpg</image>
<info>http://my.domain.com</info>
</track>

Oct. 24, 2007J2S

Andy would it be possible to talk with you via IM/email, I have an interesting offer you might like to hear.

I couldnt see contact details on trapvid.

Best regards,

J2S.

Oct. 24, 2007Andy

@Will: That's great info. I was actually looking for that myself. I solved it the dirty way by adding .flv to the URL which also works fine. wink

@J2S: Sure thing, you can reach me at trapper at trapvid.com.

Oct. 29, 2007RainMaker

Hi Andy,
Great Job Man.
I was trying to play a Google Link by giving it as a parameter in the embed html. But it is not playing. Any idea why this is not working.

Oct. 29, 2007Andy

@RainMaker:
I'm no expert on Jeroen's player really but I think you have to do as Will described above; use a Playlist file.

Oct. 30, 2007Andy

Hello All,

MegaVideo is now fully supported by Trapvid.

Happy trapping. wink

Oct. 31, 2007FRankee X

Oct. 31, 2007FRankee X

8)

Nov. 01, 2007AnotherAndy

Hey man, thanks for the site / service wink I was wondering how you got the megavideo flv urls, I can't seem to figure it out :( Its starting to get a bit annoying. I'd much apreciate the help, if you don't mind releasing trade secrets :p

Andy

Nov. 01, 2007Andy

@AnotherAndy:
The actual algorithm for MegaVideo was given to me by someone reading this forum, before I even started to look into it. The code given to me works fine, but since I did not come up with it on my own I don't feel justified in posting it here. I hope you can understand that.
If that person still reads this board, I want to thank you very much for sharing the information. For what its worth, the credit for the algorithm goes to a "Justin Case". wink

Nov. 03, 2007Umm...

@Andy...


grin grin grin grin grin grin grin grin grin grin grin grin grin

Brilliant site!

Nov. 03, 2007user

@Andy,

For me, the site does not load fast enough to be of any real use. and would like to request you PLEASE PLEASE PLEASE post information abut obtaining the FLV's from Megavideo. I searched the web for about 3 hours yesterday and was not able to find anything useful. if only they were as supportive as veoh...

Thanks

Nov. 05, 2007kevin

Can anyone help decipher the below google output? I added the video_url into my playlist, but it errors. Well actually - it doesn't do anything. Just doesn't play. My input URL was http://www.trapvid.com/fetcher.php?vurl=http://video.google.com/videoplay?docid=-1756212148578738398

Thanks for a great tool!

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Video Information provided by trapvid.com, Monday 05th of November 2007 06:08:54 AM-->
<rss>
<source>google</source>
<video_id>-1756212148578738398</video_id>
<date></date>
<title>Breaking Free from the Debt Trap</title>
<description>Dr. Forrest Pollock
November 4th, 2007</description>
<video_url>http://video.google.com/videofile/BreakingFreefromtheD.flv?docid=-1756212148578738398&itag=5</video_url>
<video_thumbnail>http://video.google.com/ThumbnailServer2?app=vss&contentid=e09a00510740b52&offsetms=1695000&itag=w320&lang=en&sigh=_1III6p1_ZYixKzzVETIylIru1Y</video_thumbnail>

<category></category>
<tags></tags>
</rss>

Nov. 05, 2007kevin

nevermind #)

I just discovered the type flashvar (<meta rel="type">flv</meta>) and all is well. This tool is the best.

Nov. 05, 2007Andy

@Kevin: Thanks. wink
The "<meta rel="type">flv</meta>" is the key as posted by Will before. It's a good idea to always include it, whether it is required or not.

Nov. 06, 2007kewlman

It looks like Youtube is giving me some weird outputs which i cannot parse. Can you just check on that

Nov. 06, 2007Andy

@kewlman
Thanks for the heads-up. I looked into it and fixed it (I think). Can you check and confirm?

Thanks.

Nov. 06, 2007kewlman

Yes. It is fixed. Thanks a lot man

Nov. 07, 2007Umm...

@Andy...

Hoping your site gets imeem on...

Know you were wanting to keep the list low & maintain them.
It would be a great asset though, if you can figure it out.

Not even ClipNabber has it!

Will keep an eye on the forum.

The site too! grin

Nov. 07, 2007Umm...

Also...

123Video.nl

Reason: Dutch (So don't delete English videos)

Nov. 07, 2007firat

when you try to fetch

http://www.trapvid.com/fetcher.php?vurl=http://www.youtube.com/watch?v=hxsy6D53HE4

or directly from trapvid.com with that url : http://www.youtube.com/watch?v=hxsy6D53HE4

because of description of that video is html, like <div > ....
parsing is not possible.

also owner of fetcher trapvid.com 's current parser can't handle that html in xml results and return an error "Column 'flv_url' cannot be null"

is it possible to make htmlentites, urlencode something like that to description (text-cdata whatever) fields in description tag ..

so they'll not confuse parsers after then...

Nov. 07, 2007kewlman

@ Will (24.10.2007):
Got this type of URL this type of URL "http://cache.googlevideo.com/get_video?video_id=3iVP0tzwhVc&origin=ash-v98.ash.youtube.com".
using your said methood of adding "type = flv" . But I was noticing that it is working inconsistently. Do you think this is problem with the player or some restrictions on the server. Are you getting this to work consistently? If yes what is that i have to do?

Nov. 07, 2007Will

@kewlman,

The direct video feeds seem to be very inconsistent. I have a long list of videos that I play once in a while.

On, oh say Tuesday, 1, 3, 6, 10, 23, 37 work. On Friday, 3, 5, 6, 9, 13, 15 work. Next time, some that didn't work are working. I don't know why. wink

Nov. 07, 2007Will

@firat,

Your request: http://www.trapvid.com/fetcher.php?vurl=http://www.youtube.com/watch?v=hxsy6D53HE4

returns XML like this:

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Video Information provided by trapvid.com, 11:28:11-->
<rss>
<source>youtube</source>
<video_id>hxsy6D53HE4</video_id>
<date></date>
<title>oprah announcement, me singing "crazy place" for charity</title>
<description>" class="smallTextmore</a>)
  </div>
   <table class="collapse-content" cellpadding="0" cellspacing="0" style="margin-top: 10px; width: 100%
    <tr>
    <td class="label" style="margin-right: 5px;Embed </td>
    <td width="99%
    <form action="" name="vidDetailsEmbedLess" id="vidDetailsEmbedLess
    <input name="embed_code" class="embedField" type="text" value="<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/hxsy6D53HE4"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/hxsy6D53HE4" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>" onClick="javascript:document.vidDetailsEmbedLess.embed_code.focus();document.vidDetailsEmbedLess.embed_code.select();" readonly>
    </form>
    </td>
   </tr></table>
  <div class="videoDescDiv expand-content
    hey everybody I have a very exciting announcement to make. I am going to be on the oprah show.<br/>On Tuesday, November the 6th 2007 it will be broadcasted. <br/>I can't hardly believe it's for real. It's always been a dream of mine. And you really helped me make that dream come true! thnx so much.<br/>I thought it was about time that I shared some of my original stuff with u guys. So at the end of the video there is a little preview of a song that I wrote and recorded recently called 'crazy place '. after meeting Oprah I knew I had to do something with that song. So next week there will be a link on my site esmeeworld.com that will allow you to buy and download the full studio version of the song. And I will donate all my artist royalties to charity. <br/>On top of that my record label Tennman Records, Justin Timberlake will support this charity aswell! Hope you like the song! <br/>big kiss<br/>Esmee</description>
<video_url>http://cache.googlevideo.com/get_video?video_id=hxsy6D53HE4&origin=sjc-v129.sjc.youtube.com</video_url>
<video_thumbnail>http://img.youtube.com/vi/hxsy6D53HE4/2.jpg</video_thumbnail>
<category>Music</category>
<tags>esmeedenters,Justin,timberlake,Oprah,esmee,neyo,alicia,keys,no,one,</tags>
</rss>

Very easy to parse, much easier than HTML.

What are you using to parse the XML?

Nov. 07, 2007Andy

The YouTube script returned a messy output for the description. It's hard to keep up with YT's changes. Seems like they change their code more often than some ppl their underwear. Anyhow, the output now looks like this:

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Video Information provided by trapvid.com, 01:09:57-->
<rss>
<source>youtube</source>
<video_id>hxsy6D53HE4</video_id>
<date></date>
<title>oprah announcement, me singing "crazy place" for charity</title>
<description>hey everybody I have a very exciting announcement to make. I am going to be on the oprah show.On Tuesday, November the 6th 2007 it will be broadcasted. I can...</description>
<video_url>http://cache.googlevideo.com/get_video?video_id=hxsy6D53HE4&origin=sjc-v129.sjc.youtube.com</video_url>
<video_thumbnail>http://img.youtube.com/vi/hxsy6D53HE4/2.jpg</video_thumbnail>
<category>Music</category>
<tags>esmeedenters,Justin,timberlake,Oprah,esmee,neyo,alicia,keys,no,one,</tags>
</rss>


I'll try to get the date information back asap.

@Umm...: I'll look into supporting those sites.

Nov. 07, 2007Andy

Immem seems nasty at first glance. I really don't understand why they always try to make it such a hassle. :$

Nov. 07, 2007Will

@Andy,

Thanks for the clarification on the YouTube XML.

Even so, messy or not, XML is MUCH easier to parse than HTML.

Thanks, keep up the good work. wink

Nov. 07, 2007Andy

@Umm...: 123video.nl is now supported. The URL is permanent. Unlike with Dailymotion there is no need to re-fetch this one. Check it out.
Imeem seems to be too difficult for me at the moment. Its FLV URL is highly dynamic. My tests showed that even if the FLV was retrieved it still would not work with a different player. But perhaps I'm just missing something, e.g., intelligence grin

@Will:
I agree, the XML output should be quite easy to parse. And thanks, I'll try. wink

Nov. 07, 2007Umm...

@Andy...

Your cool! wink

Been wanting 123video for awhile...
# Use to use them, but one day all the links were changed.
# Didn't know if they had changed their layout etc.
# Or if they changed their links slowly, like every month or more.
So didn't want to go fetching all the links again.

At least using your service with permalinks...
If it happens again, only one snippet of code to change.

Your site is fantastic.

With imeem was thinking it would be difficult! sad

# Thanks for getting one of the 2 anyway.
# Plus another thanks for megavideo!

@Will & others...

It is strange how links don't work sometimes, but then are fine.

People report the videos, then when checked their fine...
Usually just fob it off with Refresh & get FireFox.. grin

Nov. 07, 2007Umm...

Ooooo...

Forgot to say that if the imeem links fail on another player...

~ Perhaps change the 'jwplayer.swf' to '.pseudoswf'... ? 8)

Also...

Why megavideo was a great one to add:
# Uploaded 2:30hr film (They took 24hr+ to encode sad )
# Set to private
Bam... Stream through JWPlayer, permanent video!

Long live TrapVid

grin grin grin grin grin

P.s & JW...
P.p.s Will & Andersen too... (Obviously)

Nov. 08, 2007usman

#)

Nov. 08, 2007gerch

Hey Andy,

I love your guys idea and all your doing i think its really awesome...
I have a webserver (pretty fast) athlon 3,5Ghz 1024 ram 250gb and 2tb traffic... and its not yet too much in use since i am starting to build stuff...its a root server ... so full access wink with everything installed... suse linux 10 ... apache 2... php 5 ... mysql ... java 1.5 ... jboss ...

i wanted to offer you guys the webserver for free so that you can keep the site up and running.. and dont have to worry too much about bandwith problems

let me know what you think and we could talk about it !

cya
gerch

Nov. 09, 2007bob

@Andy

I have been reading through and love the information...very information! I was just the JW player and using a playlist which pulls from my mysql db but am having issues with the Youtube videos. I added the &origin=lax-v286.lax.youtube.com at the end of the video file but now I get an error from the playlist.

The error I get is:

XML Parsing Error: not well-formed
Location: http://www.ibandcast.com/beta/playlist/playlist.php?site_id=xxxxxx
Line Number 15, Column 80:

<location>http://cache.googlevideo.com/get_video?video_id=sXktCbZzh8E&origin=lax-v286.lax.youtube.com</location>
with an error pointing to the "=" sign after the origin

Any ideas?

The old formatted output looked like:
<track>
<title>Dollars and Sense: Foreclosures</title>
<creator>rtmarketing</creator>

<location>
http://cache.googlevideo.com/get_video?video_id=fbLg0t5bluY
</location>
<meta rel="type">flv</meta>
<info>http://img.youtube.com/vi/fbLg0t5bluY/2.jpg</info>
</track>

Nov. 09, 2007bob

@Andy

here is the format for the playlist I was using:

<playlist version="1">
<title>iBandcast.com Intro Page Playlist BETA test</title>
<info>http://www.iBandcast.com/beta</info>
<trackList>
<track>
<title>Fading Away</title>
<creator>Demon Hunter</creator>
<location>
http://cache.googlevideo.com/get_video?video_id=sXktCbZzh8E
</location>
<meta rel="type">flv</meta>
<info>http://img.youtube.com/vi/sXktCbZzh8E/2.jpg</info>
</track>
<track>
<title>DH Interview</title>
<creator>Demon Hunter</creator>
<location>
http://cache.googlevideo.com/get_video?video_id=i_DCpCIlh3o
</location>
<meta rel="type">flv</meta>
<info>http://img.youtube.com/vi/i_DCpCIlh3o/2.jpg</info>
</track>
<track>
<title>Drama</title>
<creator>SOULIDIUM</creator>
<location>
http://cache.googlevideo.com/get_video?video_id=0rjnxZSPo08
</location>
<meta rel="type">flv</meta>
<info>http://img.youtube.com/vi/0rjnxZSPo08/2.jpg</info>
</track>
</trackList>
</playlist>

Nov. 09, 2007Andy

@Bob
I am really not an expert on the JW player. Other people know this a lot better than I do. Perhaps Will can help?

My personal workaround is this:
<location>http://cache.googlevideo.com/get_video?video_id=dkby3htN2cc&origin=lax-v282.lax.youtube.com.flv</location>
<meta rel="type">flv</meta>

Note the .flv at the end of the URL.

Nov. 09, 2007Will

@Bob,

If you need the special characters ( ? = + & ) in the URL in the XML data, you must URL encode them.

? => %3F
+ => %2B
= => %3D
& => %26

You can do it manually or use your scripting language's URL encode function (if it has one).

Validate the XSPF playlist's XML by calling it in your browser. Opera is good because it shows the line number and character position of the error.

Nov. 09, 2007bob

@Andy, thanks for responding

@Will,

So I tried doing that manually and for some reason I get the same error when I test it in my browser. I am using PHP to do a query to my db and then output the respective playlist...here is an example:
===============================
$myLocCode = "&origin%3Dlax-v286.lax.youtube.com";
$query = "SELECT * FROM playlist WHERE active='Y' AND siteid='".$mySiteID."' AND meta='flv' ORDER BY orderid ASC";
$result = mysql_query($query) or die('Query failed: ' . mysql_error());
// output header data
header("content-type:text/xml;charset=utf-8");
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>\n";
echo " <title>iBandcast.com Intro Page Playlist</title>\n";
echo " <info>http://www.iBandcast.com/</info>\n";
echo " <trackList>\n";
// output body data
while($row = @mysql_fetch_array($result)) {
echo " <track>\n";
echo " <title>".$row['title']."</title>\n";
echo " <creator>".$row['creator']."</creator>\n";
echo " <location>".$row['location'].$myLocCode."</location>\n";
echo " <meta rel='type'>".$row['meta']."</meta>\n";
echo " <info>".$row['info']."</info>\n";
echo " </track>\n";
}
// output file end
echo " </trackList>\n";
echo "</playlist>\n";
}
======================================

The error I receive is the same:
XML Parsing Error: not well-formed
Location: http://www.ibandcast.com/beta/playlist/playlist.php?site_id=709ab650
Line Number 8, Column 77:

Pointing to the %3D instead of the "="...Any thoughts?

Nov. 09, 2007bob

@Will,

I figured out how to get the XML playlist to output by encoding the entire URL after the get_video, but the player is still not pulling the videos. When I enter the location value into the browser directly, it returns a 404 error: The requested URL /get_video?video_id%3DsXktCbZzh8E%26origin%3Dchi-v47.chi.youtube.com was not found on this server.
I have tried these two scenarios:
1. http%3A%2F%2Fcache.googlevideo.com%2Fget_video%3Fvideo_id%3DsXktCbZzh8E%26origin%3Dchi-v47.chi.youtube.com
2. http://cache.googlevideo.com/get_video/video_id%3DsXktCbZzh8E%26origin%3Dchi-v47.chi.youtube.com

I am new to this so I am not understanding how to make this work...if I am to encode the XML file but in order to get google to return the flv file the URL must be unencoded, how would you do that with the JW flv player?

Am I the only one having this issue?

Nov. 09, 2007gerch

Hi Andy...

could i talk to you a bit more ?? could you contact me at c.rivera@gmx.net ??

i wanted to talk to you about the server ..

gerch

Nov. 09, 2007AJ

Hey Andy... This is such a great service!

Although sadly I'm having troubles implementing in my actionscript. I have the following simple code but I keep getting a failed XML load (maybe it's not waiting long enough for a response?) Any ideas on what I'm doing wrong? (the code works for a local XML file) Thanks!

// Initialize XML Object\\
var video_xml = new XML();
video_xml.ignoreWhite = true;
video_xml.contentType = "text/xml";
video_xml.onLoad = function(success){
if (success) {
_root.outputText.text = video_xml;
} else {
_root.outputText.text = "ERROR: Loading XML File";
}
}


video_xml.load("http://www.trapvid.com/fetcher.php?vurl=http%3A//www.youtube.com/watch%3Fv%3DVSdxqIBfEAw"); //(Outputs Error Loading)

Nov. 09, 2007Andy

@Gerch
Please check your e-mail.

@AJ:
Umm ... good one. Unfortunately my knowledge about Action Script is very low. Zero to be precise. :$ There are a lot of smart people in here, perhaps someone can assist?

It seems as if you are loading the video information 'on the fly' when a user views the video on your server. Correct?

Nov. 09, 2007AJ

@Andy

Yep that's correct. I'm doing so because I was under the impression that flv url for youtube isn't static. Is that correct?

I currently have a video site that asks my own php file for the flv location based on video id. My script stopped working recently, I assume due to youtube changes. I'd love to be able to hook up with your up-to-date script.

Meantime, if your not hiding the code, is there anyway you can email me(ajespo@gmail.com) the php you use to generate the youtube flv URL? I'm in a bind trying to get my videos back on line as soon as possible.

Thanks,
AJ

Nov. 09, 2007Andy

@AJ:
The YouTube URL is quite static actually. You typically only need to fetch it once. However, as previously mentioned, YT is in the process of changing the URL format from something like
http://ash-v62.ash.youtube.com/get_video?video_id=-jX5Q5YI4VA
into
http://cache.googlevideo.com/get_video?video_id=dMH0bHeiRNg&origin=sjl-v1.sjl.youtube.com

My guess is that all new vids are using the new format. That format makes the use of the playlist file mandatory with JW's player (at least I cannot get it to work any other way).
Here's a working playlist file for a single video:
<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<title>Evolution of Dance</title>
<creator>YouTube</creator>
<location>http://cache.googlevideo.com/get_video?video_id=dMH0bHeiRNg&origin=sjl-v1.sjl.youtube.com</location>
<meta rel="type">flv</meta>
<image>http://img.youtube.com/vi/dMH0bHeiRNg/2.jpg</image>
</track>
</trackList>
</playlist>

This plays just fine with with JW FLV Player 3.12.


I assume you store all the video information in your own database? If so, you can setup a batch job to fetch the updated information using my script and update your db while writing individual playlist files for each video and store it on your server. Well, that's one way, probably there are better, more efficient ways.
I also think that you probably have some algorithm in place to check the original YT FLV URL from time to time, e.g., once per week or so.
Those files which don't return a code 200 are either
a) videos which are offline or
b) are videos which used to have been converted from the old format FLV URL to the new format.
Those FLV URLs, which return a 404, should be re-fetched once and if they still return a 404 after that, the video is certainly offline and you want to set it to offline in your own db.

So, PHP and your own database are the key. You use trapvid to add new videos and for updating those vids which don't respond anymore. But I ask you not to use the script for every single hit on the video on your own server as that is highly inefficient and not necessary for YouTube.
Btw, the procedure described above is exactly how I work on my own video site.


P.S.: Of you want to update your YT videos using my script, may I ask how many vids we're talking about? If you are going to send me 2 million hits we need to talk about this first. grin

Nov. 09, 2007bob

@Will,

Thanks for helping out...with a little playing around and probably some back end issue at Youtube (due to their changes), I have my script working again.

Nov. 09, 2007AJ

@Andy
Thanks for the fast feedback and help. I wasn't sure how static the FLV URL was since sometimes refreshing your script would give me different origin locations. (I assume that the FLV just resides in both places).

Either way, I'll make sure to update my flv url locations and won't bog you down with "millions" of fetches grin

- Going out on a limb here but since you work closely with so many of these video hosting sites. Do you know if any of them allow you to host your videos there but keep them private. That way the videos aren't listed but the flv's can still be shared. I had this working on youtube at one point but it stopped working suddenly. (Had to switch the videos to back to public)

- Update - For those who are curious about my flash problem mentioned above. I wasn't able to grab the XML because it was a crossdomain sandbox issue.

Nov. 09, 2007Qiu

Hi Andy:

THis is a great job~~!!! working perfectly. I am doing a project and really need your help. Can you please give me some tips? Please do give me a mail kinhunt at gmail.com.

Thanks alot

Nov. 11, 2007Andy

Hello All,

Here's an update which I think some of you will appreciate.
We have added a new variable to the fetcher URL. The variable is "mode" and the value is "xpath". If you don't include the variable, nothing will change for you.
Example - without providing "mode = xpath":
http://www.trapvid.com/fetcher.php?vurl=http://www.youtube.com/watch?v=GgVv0-TzgxA
Returns:
<rss>
<source>youtube</source>
<video_id>GgVv0-TzgxA</video_id>
<date></date>
<title>Game Show Bloopers</title>
<description>A collection of clips from US and British Game shows</description>
<video_url>http://cache.googlevideo.com/get_video?video_id=GgVv0-TzgxA&origin=lax-v208.lax.youtube.com</video_url>
<video_thumbnail>http://img.youtube.com/vi/GgVv0-TzgxA/2.jpg</video_thumbnail>
<category>Comedy</category>
<tags>game,shows,bloopers</tags>
</rss>


Example - "mode = xpath":
http://www.trapvid.com/fetcher.php?mode=xpath&vurl=http://www.youtube.com/watch?v=GgVv0-TzgxA
Returns:
<rss>
<info name="source">youtube</info>
<info name="video_id">GgVv0-TzgxA</info>
<info name="date"></info>
<info name="title">Game Show Bloopers</info>
<info name="description">A collection of clips from US and British Game shows</info>
<info name="video_url">http://cache.googlevideo.com/get_video?video_id=GgVv0-TzgxA&origin=lax-v208.lax.youtube.com</info>
<info name="video_thumbnail">http://img.youtube.com/vi/GgVv0-TzgxA/2.jpg</info>
<info name="category">Comedy</info>
<info name="tags">game,shows,bloopers</info>
</rss>

With this update you can use XPATH to parse the output easily. XPath is a language for finding information in an XML document. XPath is used to navigate through elements and attributes in an XML document.

I want thank Chris, who knows a whole lot more about XML than I do, for suggesting this function.

On a side note, I can see that it it tempting to use Trapvid to gather video information in real-time whenever a user views a video on your own server. By doing so you send a lot of unnecessary traffic to our server and I would like to ask you to re-consider your approach. I say unnecessary because for most supported sites the video information is static (exceptions being Dailymotion (highly dynamic, changes ever 15 mins or so), iFILM (changes perhaps once per day) and GoFish (seems to change once or twice per day)). That means that you only need to retrieve the information once and then store it in your own database. That keeps the load in check and is more efficient.
Thank you.

Nov. 11, 2007bob

@Andy,

Thanks, this is great...if i have a catalog of 300-400 videos that I want to do a look up for (say once a week) is there a way of submitting a batch job to your script and get a batch output so that I am not excessively hitting your server and it is less load on your end? This way I make one request and get one output that I then have to parse and store?

Nov. 11, 2007Andy

@Bob:
Thank you for your concern.

I have created a "light" version of the fetcher script which only returns the FLV file. That scrip runs faster than the normal script and is perfect for these kind of operations.

Here's how it is being used:
URL:
http://www.trapvid.com/flv_fetcher.php?vurl=[URL]

Returns:
<?xml version="1.0" encoding="UTF-8" ?>
<video_url>URL_TO_FLV_FILE</video_url>


It is perfectly fine for you to send your 400 vids to me once a week. Other people have sent me > 300,000 hits in the same period.
However, consider checking the FLV file on your own server first and only re-fetch those which are no longer responding.
You can, of course, also run the standard script (fetcher.php) and update the information. If you want to be really nice you throttle down your script and only send me once request at a time and we're all happy. grin

Buy I admit the idea of batch jobs is interesting! I have to think about that for a while.

Nov. 11, 2007bob

@Andy:

Thanks for the "light" version...the one thing I like about your regular version is the "tags" value, is there a "light" version to just get the tags back for the videoURL submitted. The only time I would get the tag values would be upon a net new entry (one time search on entry creation)...this would allow me to upon a new db entry, do a light url and tag lookup, and then on some weekly frequency for urls that are not working to do a light URL look up. Right now I only have 300-400 but that will grow.

I dont think I will hit 300K anytime soon wink If i did, I would be contacting you well in advance.

Let me know if you have a tag light.

Nov. 11, 2007bob

@Andy,

Your website appears to support the discovery of MySpace flv files but the light version does not...what is the best way to send you the MySpace URL to get to the video file.

If i take a random myspace url like:http://vids.myspace.com/index.cfm?fuseaction=vids.individual&VideoID=21063256

How can i retrieve the flv file location?

Thanks for your help...

Bob

Nov. 11, 2007Andy

Bob, you need to urlencode the URL.

Wrong:
http://www.trapvid.com/fetcher.php?http://vids.myspace.com/index.cfm?fuseaction=vids.individual&VideoID=21063256

Right:
http://www.trapvid.com/fetcher.php?http%3A//vids.myspace.com/index.cfm%3Ffuseaction%3Dvids.individual%26VideoID%3D21063256

If you use that string, it will work - also for the flv_fetcher.php script.

Nov. 11, 2007bob

@Andy,

Did you change something in the http://www.trapvid.com/flv_fetcher.php?vurl=[URL] code? It was working earlier today for my Youtube videos and now it does not. It doesn't work regardless if I encode the URL from youtube.

Request 1:
http://www.trapvid.com/flv_fetcher.php?vurl=http://www.youtube.com/watch?v=yU194eE5jV4

Request 2:
http://www.trapvid.com/flv_fetcher.php?vurl=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DyU194eE5jV4

Output for both:
<?xml version="1.0" encoding="UTF-8" ?>
<video_url></video_url>

Sorry for all of the questions, i was about to alter my scripts to urlencode the myspace url and realized before I changed anything that the existing script that worked earlier today stopped working

Nov. 12, 2007Andy

@Bob: Yeah I made a little boo-boo in the code. :$ It's fixed now and should be working. Sorry bout that.

Nov. 12, 2007bob

@Andy,

No worries...your stuff really rocks...have you spent anytime thinking of a light version for tag retrievals?

Nov. 12, 2007Andy

Don't worry about this, Bob. Feel free to use the complete script for the time being. I don't want to complicate things too much by adding yet another script (mostly not wanting to complicate it more for me hehehe grin )

Nov. 12, 2007Andrew

Hi Andy,

Nice scripts and work very good.
The megavideo, veoh and dailymotion flv link, they change their link link in time or use token. How to make it work? If they change their link, we could use your script and auotmate update in our database let say every day. In case of 1000 video links need to update each day.

Nov. 12, 2007Andy

@Andrew:
Not a problem. Send away.
However, as stated before, you can check if the FLV URL is still valid on your own server and only send those videos where it has changed to the flv_fetcher.php script - instead of sending a request for every single one. I know, it involves more programming on your part, but it is the right thing to do.
Veoh/Megavideo do not change often. An update once per day should suffice. Dailymotion is a different matter. The URLs change very often. Once an hour you should have them refreshed and you're welcome to use the flv_fetcher script. Please do no send more than one request at a time though.

Thanks! wink

Nov. 12, 2007Andrew

@Andy,

I'm trying to check those flv URL with more likely alot of them in my database. In past few days, I just update my veoh link but only 2 days later they change the URL, it seem to be a random 1 to 4 days. I'm not sure if it just me or everyone else. Could you please contact me via email at : andrewrhs_rhs@yahoo.com

Thanks wink

Nov. 13, 2007kewlman

Hey Andy,
Looks like Youtube is returning wrong value. It is giving "Connection close" in videourl. Can you please check this?

Nov. 13, 2007tompata

Hello,

great service! but i've noticed a small problem: the output xml is not strictly well-formed (xml compatible). try the following url:
http://www.youtube.com/watch?v=QDZbS-evncw
the line "<category>Autos & Vehicles</category>" contains an &, and not &amp.

Thanks!

Nov. 13, 2007Andy

@kewlman: Fixed.

@tompata: Fixed. Output now XLM encoded.

Nov. 14, 2007Bob

@Andy,

Thank you for all of your support the past couple of days and for such an awesome service...Let me know if you are interested in contract development services in php scripting languages as I have a few projects that in a couple of months will need some code work done beyond my abilities.

Bob

Nov. 14, 2007facundo

@Andy are you interested in sharing your code with us? or do you prefer to keep it to your self?

Nov. 14, 2007Rutger

Andy, this is great! This is just the service I need wink

One possible addition: the thumbnails returned by YouTube are by default 130x97 pixels, quite small in my opinion.

The url ends with 2.jpg (for example: http://img.youtube.com/vi/eAhfZUZiwSE/2.jpg). If you change the 2 into a 0, the thumbnail is larger (320x240 px).

Just a thought.

Another thing, when trying to fetch a thumbnail from Google Video, the script returned too much ampersands (&) in the url of the image.

I'm very curious whether you are considering to open-source this script? If not, are you willing to commercially make it available with an uptime guarantee for example?

Dec. 12, 2007Andy

Added Support for Tudou.com (so quickly can plans change hehe) and Movieweb.com for movie buffs.

@Ram: You are right. Modification of the script would be required. Once the URL is obained, I don't think there will be any problems streaming the vid to any site. There's certainly no additional protection mechanism in place or YT's own embed player wouldn't work either. I'll look into it.

Dec. 20, 2007Van

Hi Andy,

I'd like to talk an opportunity about trapvid, where can I private message you? maybe you can contact me at my email xdim11 -at- gmail.com?

Please let me know, looking forward to hearing from you soon.

Thanks.

Dec. 20, 2007Andy

@Van
I just sent you an e-mail.

Dec. 20, 2007Umm...

@Andy

On your homepage, the 123Video embed video works... But the download link is wrong!

* Great site though. (Just a constructive note)

Dec. 21, 2007Andy

@Umm...
Thanks for letting me know. It should work now. Please check.

Dec. 21, 2007Umm...

@Andy

Still the same... Just the server's different!

Just used http://123video.nl/playvideos.asp?MovieID=182072.....

Sever:
* Embed = http://85.17.191.50/
* Download = http://85.17.191.45/

Close!!! ..lol.


The link still starts a download, but the files nothing.....

Perhap's just tried a dodgey video, will try more.


Cheers!

Dec. 21, 2007Umm...

>>The servers were the other way around..!! (Ooops)


>>Forgot..

Have a great Xmas..!!!

Dec. 22, 2007Van

Hi Andy,

Just want to make sure that you have received my reply, my email program was having a little problem, it's probably sent using my other account wink

thanks.

Dec. 22, 2007Andy

@Umm...
I know what you mean, but for me it works fine. I have justed tested many more videos from that site, and I can download and stream the videos.
As for the IP, 123video.nl has mirrors. The one your computer uses isn't necessarily the one my script returns. Despite the mismatch, it should work though. I tested the vid you referenced, http://123video.nl/playvideos.asp?MovieID=182072, and same here, streams perfectly via JW's player using IP 85.17.191.50.
I must be missing something here. Please explain.
Thanks! wink

@Van
I have received your e-mail. Thanks. I'll have to think about this some more. I'll reply via e-mail in a few days.

Dec. 22, 2007fedmich

Awesome...

One suggestion, rather than fetcher.php why not make it this way for shorter url and easier to read.

Before
http://www.trapvid.com/fetcher.php?vurl=http://www.youtube.com/watch?v=-7sPAQWEHTw

My suggestion
http://www.trapvid.com/get/?vurl=http://www.youtube.com/watch?v=-7sPAQWEHTw
that means make a directory /get/ then put index.php inside get and intercept the vurl parameter and do the process wink

Check my video site too, wink beta version yet, and it is powered by Flat files only (txt files)
[url=http://www.fedmich.com/videos/]Fedmich videos[/url]

and my funny site on [url=http://www.fedmich.com]Fedmich[/url]

Cheers and Merry Christmas to all

Dec. 22, 2007fedmich

If you have free time, please add rss feed support for your What others have trapped

Thanks

Dec. 22, 2007Andy

Passing the 2 M mark.
As of today, since August a total of 2,118,169 videos have been fetched. Seems like the pace is picking up a little bit.
Thank you all very much for your valuable feedback and suggestions. Please keep bitching if something does not work. wink

@fedmich:
Nice site! Not sure if it is necessary to change the URL as the address is submitted by a script on your server, rather than a human being. But I'll think about it. Same goes for the RSS feed. This is an interesting idea, indeed.


Merry Christmas and a Happy New Year Y'all!

Dec. 22, 2007fedmich

Some notes on veoh

veoh videos doesn't seem to work on IE, on firefox I can watch it though.

see here
[url=http://fedmich.com/videos/anime/bleach_movie_2/1]Bleach movie 2[/url]

I'm using playlist for it and looks like it can download when I click on "more info on player" but hotlinking on IE seems to be not working
[url=http://fedmich.com/videos/anime/bleach_movie_2/1?xml=1]Bleach movie 2 playlist[/url]

Dec. 22, 2007Umm....

@Andy

Your right...!!

Just couldn't stream some of the videos before....

> Then when you altered whatever, just checked quickly on your homepage & saw the difference like at first.
> Thus, assumed it still didn't work.

Cheers! wink

(Over 2 million.... If only that page was viewed & had advertising... lol.)
(You'd be 50c richer... lol.)

(Bring on the '2 B' mark!!)

Dec. 22, 2007Umm....

@fedmich

Plays fine...!!
Also downloads correctly when clicking the 'info' button.

Assume you made the playlist with Trapvid.. wink


What method do you use to remove lines from a txt-file??

Dec. 22, 2007fedmich

I made the playlist for veoh videos manually from trapvid, I still don't know trapvid deciper flv from that site...

"What method do you use to remove lines from a txt-file??" <- I dont quite understand what you mean, but I am using regex to strip them

Dec. 23, 2007Umm...

@fedmich

That is what was wondering... Thanks. wink

Just like to know what people do, to assume the best methods of things.


Cheer's


(Add more crazy video's... Their cool!!)

Dec. 23, 2007ShareTheCode

@fedmich, Umm..., et alia

share your code, then everybody benefits

Dec. 23, 2007Umm...

@ShareTheCode

What code do you want?
Just asked fedmich what his does to delete.. (strip).

Just using TrapVid. wink

* Need to know anything on here, jut ask Andy.

Dec. 28, 2007Jake Ruston

Thanks for this solution wink

Thanks,
Jake Ruston,
[url=http://www.dir4you.net]Directory 4 You[/url]
[url=http://www.generaldir.net]General Directory[/url]
[url=http://www.biddir.net]Bidding Directory[/url]
[url=http://www.siteseo.org]Site SEO Blog[/url]

Dec. 29, 2007fedmich

im back wink

hmm.... trapvid still doesn't support my request for rss, i guess you guys are busy eh...


@Andy
don't you support vidiac videos yet?

see here I hacked them a bit, http://fedmich.com/videos/get/vidiac_2148b3f1-e155-4717-a0eb-c69566d61d15

here's the formula for getting it...
sometimes files are on
http://209.9.234.31/flv1/
http://209.9.234.31/flv1/
http://209.9.234.32/flv1/
http://209.9.234.32/flv2/

so the changing is 31..32 and then flv1..flv2
not yet sure if .33/flv3 is used

on my example
valid url is on... http://209.9.234.31/flv1/2148b3f1-e155-4717-a0eb-c69566d61d15-.flv

for the thumbs,
http://thumbs.vidiac.com/2148b3f1-e155-4717-a0eb-c69566d61d15.jpg

@Andy, @AnotherAndy
I hope you don't mind, pls do share/trade secrets. would really help the community grow wink



the trapvid.com , keepvid.com, etc inspired me to make my own service like this but I want it to be somekind of special.
started a new thread about this... http://www.jeroenwijering.com/?thread=8306

Cheers

Dec. 29, 2007Andy

Hi All,

Starting Feb 01, 2008, you will need to have your IP Address registered with Trapvid in order to send requests and retrieve video information. Sign-up costs nothing.
http://www.trapvid.com/fetcher_service.php


@fedmich:
I have thought about the RSS feed some more, but I have not made up my mind yet as to whether or not I will add it to the site. As for Vidiac, thanks for sharing the information. I'll check out the site and perhaps add it to Trapvid. I'll let you know about any updates.

Dec. 29, 2007fedmich

Your very welcome.

Registered ip eh... would be a hassle to me, cause I am using dynamic. can it be via email or registration. or API key...

That would be helpful

keep up the good work

Dec. 30, 2007Yansky

Here's a greasemonkey script you can use too: http://userscripts.org/scripts/show/17972

Dec. 30, 2007dynamicIP

what about dynamic IPs

mine changes every 8 hours

Dec. 30, 2007Bluetrain

Dear Andy, I find the your script is working perfectly. However it's weird that yours return the different link in VEOH compare to Will's method on the SAME link. However both of them work.

Example: Assuming the VEOH url is: http://www.veoh.com/videos/v16586176xPJhXbw

To find the full hash code, use this URL:
http://www.veoh.com/rest/videos/v16586176xPJhXbw/details

On that link, we use the path in fullPreviewHashPath, which is this link:
http://content.veoh.com/flash/p/1658617/b47bf93ab0051b01d0d1cfbdb0a1ff49ec568db6.flv?ct=bd1ed662304336129521c63249bb362b5d138b3974179880

However yours return:
http://content.veoh.com/flash/p/1658617/9c2f69fda77f34f324374c39a82615a574595c8e.flv?ct=781e6ab20b8f33ff43706d17c26c96e5247bf12d67cf20f8

Do you have any idea as to why there are 2 different links on the same URL and they both work? Which one should I trust? Would both of them work or will change later? I've found the other site that I came across, they use the URL such as:
http://veoh-180.vo.llnwd.net/Vpreviews/f/b47bf93ab0051b01d0d1cfbdb0a1ff49ec568db6.flv?e=1198958868&h=0077e713a529a70dca26bde82924ac76

which in my opinion, is a true location of the VEOH file. Please let me know any input. Thanks so much in advance.

Dec. 31, 2007Andy

@Bluetrain
Both URLs will work. The reason my script returning a different file is (was that is) that my script returned the "fullPreviewHashLowPath" variable, instead of the "fullPreviewHashPath" variable. As far as I can tell, both files are very much the same. However, I have changed the script so that trapvid, too, now returns the "fullPreviewHasPath" variable. In any case, this URL is only valid for so long. It is a dynamic URL which needs to be refreshed from time to time.

As for the the URL starting with http://veoh-180.vo.llnwd.net, that URL is also dynamic. If you try to open the link you posted above, you'll see that it has stopped working. You are ok with the URL my script returns, or that made by Will.

Dec. 31, 2007Bluetrain

Hi Andy, thank you very much. I'm glad that you have made changes because it would be less confusing. Are you interested in releasing the code (free or selling or such thing?). I love the code for personal use only (absolutely not another trapvid clone lol). I'm afraid if I use it too much your it would create server load and in case your server is down.

As for the side question, anybody has experience with how long the dynamic link in veoh, youtube, metacafe etc. would last? How frequently they change it?

Jan. 02, 2008Andy

@Bluetrain:
Youtube's URL are static. Veoh's URLs are dynamic. I recommend checking them every other hour or so. Metacafe is static. Dailymotion is highly dynamic. Constant checking (three times per hour) is required.

As for the script, I have no plans to release the script at this time. As for the server load, it depends on how many hits you are planning on sending me. Under the new rules (see sign-up page) you can send more than half a million requests per month to the Trapvid server. I think that's plenty. As for downtimes, as long as you do not fetch URLs in real time, meaning, fetch the URL whenever one of your user views a video on your page, your service should not be hugely affected, should Trapvid be offline one time.


@dynamicIP
The server is designed for static IPs. Web Servers typically have static IP addresses, hence our decision to base the authentication on the IP address.

Jan. 02, 2008Jones

Looks like Andy is making things really complicated with regard to basing his authentication using static IP address. I am basically using my home computer to retrieve FLV URLs. So the static IP address wont work for me. So can anyone of guys suggest a good way that i can overcome this problem or suggest a good way Andy can do his authentication. The new authentication method will really kill me

Jan. 02, 2008Jones

Looks like Andy is making things really complicated by basing his authentication using static IP address. I am basically using my home computer to retrieve FLV URLs. So the static IP address wont work for me.

So can anyone of guys suggest a good way that i can overcome this problem or suggest a good way Andy can do his authentication. Authentication method using IP address is a killer for me

Jan. 02, 2008Andy

@Jones
You can still use the homepage functionality to retrieve the FLV file. Would that not work for you? I don't understand why you want to use the fetcher service on your local computer. It is designed for servers, people running video web sites.
Perhaps you can explain?

Jan. 02, 2008Jones

Hi Andy,
As i dont want to slow down my server during video search I basically obtain the FLV URLs on my local computer and then update my servers database with the new URLs. So the authentication using IP address will be a problem for me. Why are u not doing the username password route which most web apis use?. Hope you can help me out on this.

Jan. 06, 2008Kewlman

I tried playing the flv link from tudou and i am not able to play it. Does anyone of you have any problem with the FLV link obtained.

Jan. 06, 2008Andy

@Kewlman:
Can you download the returned FLV file manually?

Jan. 07, 2008Kewlman

Hi Andy,
I am able to download the file but it is not playing

Jan. 07, 2008Andy

@all:
Trapvid now supports Dailymotion's EXPLICIT CONTENTS (you know, those are the vids you cannot watch on DM, unless you are logged in). Try the same with Clipnabber or Keepvid. wink

@Kewlman:
I tired it and it works fine for me. Could it be the Playlist file?
Check this example:
Video URL: http://www.tudou.com/programs/view/23q06EFe574/
And the working playlist file
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<title>Ŀ¶�׹� - ��Ƶ - ���߹ۿ� - �����</title>
<creator>www.mydomain.com</creator>
<location>http://player0082.tudou.com/flv/013/127/739/13127739.flv</location>
<meta rel="type">flv</meta>
<image>http://www.mydomain.com/path/image.jpg</image>
</track>
</trackList>
</playlist>

Jan. 09, 2008Kewlman

I tried putting the same playlist file you used but it is still not playing. Do you know whether they have any security restrictions or whether they are changing the link?

Jan. 09, 2008Andy

The URL is static. I cannot explain why it would not work for you. This must be client problem, e.g., version of JW Player perhaps? I'm really not sure. Where's Will when you need him? wink

Jan. 10, 2008

[b][/b][quote][/quote][code][/code]

Jan. 10, 2008Kewlman

Hi Andy,
I checked it in FireFox and it is working fine. But when i test it in IE it is not working. I dont have any explanation to this. Do you know anything about it?

Jan. 11, 2008Veoh error

As of now 4am EST time Jan 11th, when I try to get link from Veoh I get error:

Warning: file_get_contents(http://www.veoh.com/rest/video/v16586176xPJhXbw/details) [function.file-get-contents]: failed to open stream: HTTP request failed! in /home/trapvid/public_html/_inc/functions.php on line 231 . Seems like your server is not responding.

I tried to email you but your mailbox is full.

Jan. 11, 2008wessite

@Kewlman

Hey, I encountered the same problem today. I searched a bit on this website, and then I saw this:

“Note that you must urlencode any ? = & symbols inside flashvars. The urlencoded values for these symbols are: ? → %3F, = → %3D, & → %26. So if your "file" flashvar has the value of getplaylist.php?id=123, you can set it like this: getplaylist.php%3Fid%3D123.”

So there's the solution.
instead of http://cache.googlevideo.com/get_video?video_id=3iVP0tzwhVc&origin=ash-v98.ash.youtube.com
use http://cache.googlevideo.com/get_video%3Fvideo_id%3D3iVP0tzwhVc%26origin%3Dash-v98.ash.youtube.com

@andy

Hey Andy, maybe these symbols should be replaced before the xml get outputted, or is it best we replace them in our own script?

Greets wesley
http://www.bmxaction.net

Jan. 11, 2008Andy

The Veoh Error is fixed. Whether temporary or permanently I'll know in a little while.
Sorry about the e-mail inbox problem.

Jan. 11, 2008Andy

@wessite:
Let's see what Kewlman says, because the Tudou example above does not use any of the symbols which would be affected by URLENCODING the string, so it should not matter.

Jan. 11, 2008Kewlman

Yes . Andy is right. The tudou doesnt use any of these symbols and since it works for Firefox i dont think it is the player problem either. I think it is some cookies or some security restrictions. But dont know for sure.

Jan. 11, 2008Andy

@Kewlman:
I'll try it myself with MSIE (I normally do not use it) and let you know what I find.

Jan. 11, 2008Andy

@Kewlman:
I have had some luck, unfortunately all of it bad.
First of all, I can confirm your findings. MSIE does not play the video. Whether you use a playlist file, or embed the URL directly into the code, the result is the same. Black screen, spinning circle and with an older version of the JW player you only look at a white screen. The same page (using current or older player) plays back fine in Firefox - regardless of whether a playlist or URL is used.

I then went to JW's wizard page to see if that page would playback the video with MSIE. I chose the SINGLE FLV FILE setup and entered a working URL (http://player0084.tudou.com/flv/013/337/055/13337055.flv). And guess what, the video would not load.

After a little bit packet sniffing I found something curious.
When Firefox/JW Player request the video from tudou, several cookies are submitted to tudou.com. It looks like this:
Cookie: juid=akv9191bbgo; pageStep=13; pageUUID=f579b19a-3aa5-4eca-830e-3b653639eb5e%7E_%7E4141; playedClips=7xuxr%2C5j9v4%2F1cecj%2C5avnk%2F1cecj; tudou=5f6a0c5e111a53136ff52e89aa8f4ae1
You do the same with MSIE/JW, the cookies are missing and tudou replies with "HTTP/1.0 404 Not Found". Fails both using MSIE 6 and MSIE 7.

I think your assumption about a security related problem could be correct. Unfortunately I'm in no position to suggest a solution. :(

Jan. 12, 2008wessite

Hey,

Yep you guys seem to be right. Today I tried to play the video within a playlist and there you shouldn't change the symbols.

greets
wesley

Jan. 12, 2008Bluetrain

@Andy,

I know this has nothing to do with Trapvid, but I need your wisdom. You mentioned about MSIE does not play, I have the same problem here. The Veoh URL that uses Trapvid to identify the link works great on Firefox, but NOT on IE. I've been having headache to solve this issue. Someone suggests it has something to do with IE caching, which I'm clueless.

Do you have any suggestion Anday? Thanks very much.

Jan. 12, 2008Andy

Bluetrain:

You're absolutely right about the issue with Veoh. I ran into this problem some time ago on my personal video web site. I was not able to figure out what the problem was, so I had to program a workaround. Which is:
My script checks if the video is hosted by Veoh and if the web browser if MSIE, and if it is, I use the original Veoh embed player, instead of JW's player.
That is not nice, of course, but I was not able to come up with something better.

Jan. 12, 2008Kewlman

So IE is showing issues with multiple sites. Let us do some brainstorm . I know that the first time i played tudou video it played and after that it stopped working.

Jan. 12, 2008Bluetrain

That's interesting, I saw this site: online phim.net (no space between) using JW player and it runs Veoh video files, you can check it out. You don't need to understand the language, just click on one of the link to movie and try to run. They use Ajax I think. My point is I hope that there is a solution for this. Your work around is also a good idea to think about. Thank you.

If you check the site that I show, you might be able to figure out how they do it. I can't because I'm not a programmer wink .

Jan. 15, 2008Kewlman

@BlueTrain
Can you point me to the video in the site you are referring to. I couldnt find the veoh videos in the site as the site is too cluttered.

Jan. 15, 2008Andy

Dear All,

As most of you can imagine, websites like Clipnabber, Keepvid or Trapvid operate in somewhat of a grey area as far as their legality is concerned. To give you an example: All three sites clearly violate Youtube's terms of use. In which it reads:
"You agree not to access User Submissions (defined below) or YouTube Content through any technology or means other than the video playback pages of the Website itself, the YouTube Embeddable Player, or other explicitly authorized means YouTube may designate."
Any program which is not the Youtube embed player or the the user's web browser while surfing Youtube.com is not allowed to access the site. Obviously we never obtained the mentioned explicit authorization, and it is highly doubtful that the other sites have. Here we are very vulnerable, as you can see.
We have consulted legal council and the result of that was not surprising. A site like Trapvid opens itself up to potential law suites from various directions. Breach of terms of use is one, the entire issue of Copyright Infringement and the fact that a site like Trapvid helps to facilitate (make available) this kind of content opens a whole new can of worms. And then there's the obvious issue of using someone else's contents without expressed permission and utilizing other people's or organization's server infrastructure to stream a video on your own site in your own branded player. By placing your own logo on top of the video you never owned any rights to, and not using the original embed player and basically destroying the big boy's advertisement model you're asking for trouble.
Trapvid, unlike the other sites mentioned offers a function which allows you to retrieve video information on a large scale making the possible legal implications even worse.

Even before speaking to the lawyer we thought about these issues alot, but after we have received the very clear message, we can not ignore it.
We therefore have, after hard deliberations, decided to discontinue the service - as much as it pains us.

Whether or not we launch this service again in the future, e.g., hosted in some 3rd world country, if we will give away the script for free or offer it to anyone interested for a fee, we haven't decided yet. We need thinking time. We therefore ask you not to send e-mails asking for the script or offering hosting in another country.


If you call us weak, you are right. If you think we are afraid, you are right.
We are weak, we are afraid. If you think we should have thought about these issues before ever proposing this service, you are right as well. We should have, but we didn't. And that is most unfortunate but we ask you to understand our reasons.
But a community like this one here has a lot of smart people who can pick up the ball and offer assistance when it comes to algorithms for certain video sites.


Keep on streaming. You can't stop the signal. wink
Andy

Jan. 16, 2008Please

If you are going to shut down this service, please at least post the source code, so that other people can continue it.
This would also be a great way to fight back against those ass-hats that shut you down.

Jan. 16, 2008Nam

Andy, I respect your decision and thank you for your great contribution so far. I did email you before seeing this thread. I understand the whole issue and that you need time to think about it. I won't bother to email you again about but hopefully, I'll get reply from you to know your decision. Thank you very much for what you've done and best wishes.

Jan. 30, 2008Hi,

Jan. 30, 2008Hi,

Can any one help to generate Youtube video download URL? like
http://cache.googlevideo.com/get_video?video_id=dMH0bHeiRNg&origin=sjl-v1.sjl.youtube.com

Plese .. i am checking how to generate this url from the url format http://www.youtube.com/watch?v=XCRSsxtSk1U.

Thanks in advance.
mail me if possible on amjithps(at)gmail(dot)com

Thanks in advance.
Amjith

Jan. 30, 2008andersen

@Amjith - please see this [url=http://www.jeroenwijering.com/?thread=8446]thread[/url] and this [url=http://www.jeroenwijering.com/?thread=8416]thread[/url]

Feb. 02, 2008Ye

Hey Andy!

I loved your service and it would have been very useful for me. You should really consider releasing it as open source or maybe selling licenses... I sure would buy one.

Do you have an email or something where we can get together to negotiate or talk about it?

Greetings!

Feb. 14, 2008patrick

so i'm trying to get dailymotion URLs. they've altered their system..

i'm parsing XML in PHP and using their RSS feed, and i can trap the right info, but it never works. it works if i view the source of the rss in the browser and copy the url, though.

http://www.dailymotion.com/rss/video/x49mdo_saddest-valentine-song_events [media:content.@url] :::: go to the source, you can download the FLV.
http://omgplaylist.com/mysql/video/dailymotion/geturlWrong.php?ID=x49mdo_saddest-valentine-song_events :::: it's getting that value, but it fails. it's almost as if they put in a bad key because they know you're trying to get the URL. but why would they even put a key in the first place if that were the case?

can anyone help?

Feb. 23, 2008annario

hijo de puta

Feb. 26, 2008WELL????

You promised you'd release the source if you shut down your site so where the **** is it? It's been months now damnit hurry up and post it sheesh!

Mar. 11, 2008romeo

please someone share the megavideo.com and google video soruce to fetch the link

Mar. 11, 2008AJAX

Ya gotta look here: [url=http://www.jeroenwijering.com/?thread=5484#msg56920]TRYING TO STREAM YOUTUBE VIDEOS[/url]

Mar. 11, 2008AJAX

Google Video is the same as YouTube. Get the redirect from the headers.

URI:http://video.google.com/videoplay?docid=1070329053600562261
embed:<embed style="width:100%;height:100%;" type="application/x-shockwave-flash" src="/googleplayer.swf?&videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DtwAAAMKmPtQigzZu6VNAOi76xzD0W49NeQU4JIEFncLH2Q96EOeLsqLjALs5I0JSf7DoFWojBJbWs4nz5zlu9Lru_R4m9lPKHfATijizmM7NdHkV-bFlE77D64JzVR9SirZNJoIWnnFjvOZNt_y3gvuJJ1slH5oracENcuYJfEXuvNBD0Llf0-Q50Vl27D7CkUjjxqhv3jFGChwOwxyX-TbyNLxbAmqxIdXDI96zJNk1QjGin2uQqGjHBGbHFZjCuf2pIg%26sigh%3DG9MrmO3U4RKSOSJoz_pMguy5kmY%26begin%3D0%26len%3D8369369%26docid%3D1070329053600562261&thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dvss%26contentid%3Dc30c584d8cbf4327%26offsetms%3D5000%26itag%3Dw320%26lang%3Den%26sigh%3DlvpJQzUOOFQibyIA6IR8NxqtSog" id="VideoPlayback" align="middle" allowScriptAccess="always" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL" FlashVars="playerMode=normal&autoPlay=true&docid=1070329053600562261&subtitle=on&clickUrl="></embed>
videoUrl:http://vp.video.google.com/videodownload?version=0&secureurl=twAAAMKmPtQigzZu6VNAOi76xzD0W49NeQU4JIEFncLH2Q96EOeLsqLjALs5I0JSf7DoFWojBJbWs4nz5zlu9Lru_R4m9lPKHfATijizmM7NdHkV-bFlE77D64JzVR9SirZNJoIWnnFjvOZNt_y3gvuJJ1slH5oracENcuYJfEXuvNBD0Llf0-Q50Vl27D7CkUjjxqhv3jFGChwOwxyX-TbyNLxbAmqxIdXDI96zJNk1QjGin2uQqGjHBGbHFZjCuf2pIg
Headers:HTTP request sent, awaiting response...
1 HTTP/1.0 302 Found
2 Location: http://bfmupq.vp.video.l.google.com/videodownload?version=0&secureurl=twAAAMKmPtQigzZu6VNAOi76xzD0W49NeQU4JIEFncLH2Q96EOeLsqLjALs5I0JSf7DoFWojBJbWs4nz5zlu9Lru_R4m9lPKHfATijizmM7NdHkV-bFlE77D64JzVR9SirZNJoIWnnFjvOZNt_y3gvuJJ1slH5oracENcuYJfEXuvNBD0Llf0-Q50Vl27D7CkUjjxqhv3jFGChwOwxyX-TbyNLxbAmqxIdXDI96zJNk1QjGin2uQqGjHBGbHFZjCuf2pIg&rdc=1
3 Content-Length: 0
4 Date: Wed, 12 Mar 2008 03:28:50 GMT
5 Content-Type: text/html
6 Server: GFE/1.3
7 Connection: Keep-Alive

Mar. 16, 2008pyrodigy

dear ajax
Could you please explain clearly how to fetch the google video link for Jeroen's FLV player? I could not able to provide my flv link with your code which you mentioned as above:(
here is my video link; http://video.google.com/videoplay?docid=-7504811429089591089
I have prefered to upload my videos to youtube as yet,but in my country sometimes youtube has beenig cencored by our idiot authorized so we can not publish our videos in our personal web sites! I have solved to provide my youtube links with thanks Andy's formula in this treath http://www.jeroenwijering.com/?thread=5484
it was very easy to fetch youtube link with that formula,it would be great if you or anyone else share how to fetch google video formula in this forum.
Note:i use asp or html not php
Thanks

Mar. 27, 2008Source

Hey guys where can I download the source code for trapvid? Link please

Mar. 27, 2008monty

This: [url=http://www.jeroenwijering.com/?thread=5484#msg56933]grab_video_uris.php[/url] is probably the best you're going to get right now.

Apr. 19, 2008Muhammad Anjum K

flash 8 free video tutorials fastly download

Apr. 19, 2008monty

Correcting my post above,

This: http://www.jeroenwijering.com/?thread=5484#msg55747  —  grab_video_uris.php is probably the best you're going to get right now.

May. 29, 2008michaek

www.bestvideoconverters.net

Jun. 18, 2008Linda

Hi Andy,
How does this Player to play the imeem music?
Please help me.

Jun. 20, 2008Jan

http://www.flv-converter.de/videoportale.php

Download the original FLV File or convert it in a other Video- or Audioformat from many Videowebsites.

It's a very HOT Link!

Jul. 11, 2008ankara nakliyat

good article.
<a href="http://www.sacekim-merkezi.org " title="saç ekimi">saç ekimi</a>

Jul. 26, 2008Azu

Hi All,

With much interest I have been following the discussions in this forum. We all like Jeroen's player a lot, and we all struggle with the same problem: How to obtain the FLV URL for a video. Sometimes it is easy, sometimes it is not. Often the video sites make changes which make it more difficult.
Thankfully there are people here who post PHP code snippets which help to get around some problems. The problem is, that often this code must be modified. What works today often won't work in 6 weeks from now.


Hi Andy.

I used to use your site a lot before it was taken down. It has motivated me to make my own API for jw player. Here's the topic for it if any of you are interested
http://www.jeroenwijering.com/?thread=12027

It's really easy to use wink just change one line

Jul. 26, 2008craig

hello andy try this one...http://www.vidiac.com/vidiac.swf" FlashVars="video=d6832d09-f6a9-485f-9ca3-9a5301434f81" quality="high" bgcolor="#ffffff" width="428" height="352" name="ePlayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>

Aug. 23, 2008ave

trapvid closed ????

Aug. 24, 2008Azu

@ave
Yes trapvid is no more. I've made a replacement that's better then the original though.

Aug. 25, 2008ave

where can i find it

Aug. 25, 2008Hi andy

i have made some flash players myself and my flash players do not send any cooki to anyone :P but when i put videos from tudou or veoh or pretty much any asian video host in my flash players i made myself or any other flash player, these videos will not load on IE but will on firefox, for Opera its half and half.

my assumption is that this blocking is a server function that is based on the "referer" but it is unable to read the referer correctly from firefox so fails in blocking. this is a security measure these video hosts have to prevent people from playing their videos in their own players and *stealing their bandwidth..

Aug. 25, 2008Azu

@ave

http://freethepenguins.com/f=1880
http://www.jeroenwijering.com/?thread=12027
http://www.jeroenwijering.com/?thread=5484


@Hi andy
Andy is gone, he hasn't posted here in 7 months.

Anyways ya try it with mine and tell me whether or not it works for you okay. It should definitely be working for Veoh and Tudou (in all browsers).

Oct. 06, 2008Durai

Hi Gugs

I think this is correct FLV URL for Metacafe

Ex: $_GET["id"] = 1816916;

http://akvideos.metacafe.com/ItemFiles/[From www.metacafe.com] ".$_GET["id"].".8324781.11.flv

Result:
http://akvideos.metacafe.com/ItemFiles/[From www.metacafe.com] 1816916.8324781.11.flv

Oct. 07, 2008Raj

Dear Friends,

am spending more time to get the TUDOC FLV PATH and thumbnail url.

Please help me.

Oct. 10, 2008Raj

Hi Azu,

how to grap the thumbnail url for tudou videos?

if you done in PHP, please post the code.

Thanks for the help!

Oct. 10, 2008Salal

Hi Azu,

I want the php code for thumbnail url for tudou please post it

Oct. 10, 2008Salal

Hi Azu

I have visited the url http://freethepenguins.com/f=1880
but there is no code for tudou.com

please post me the code

Oct. 10, 2008Raj

hi Azu

am also visited the site but i did not able to see the details about tudou thumbnail url

Please provide me.

Oct. 10, 2008Raj

Hi Azu

am waiting for your code.

Oct. 10, 2008Salal

Anybody post me the code for tudou.com thumbnail url
its very urgent

Nov. 21, 2008Salahudeen

Hi,

Can anybody post me the script for metacfe.com

Please help me i need it very urgently

Feb. 17, 2009arshan

i want to download videos from www.topperlearning.com ...............can u help me

Mar. 07, 2009Bob

Could you also support:

http://www.gametrailers.com/player/19192.html

(make sure you grab the video not the advertisement)

Apr. 25, 2009Biju Jacob

Hi Andy,

Could you please tell me how to download videos from the site topperlearning.com..

Thanks a lot.
Your help will be greatly appreciated!

Jun. 07, 2009bharath

how to download videos from topperlearning.com

Aug. 05, 2009Will R

I was wondering if anyone could help me on how to pull a song file from Zippyshare (http://www13.zippyshare.com/v/61330989/file.html)

and get it to work with my code...

<embed src="player-licensed.swf"width="470"height="20"bgcolor="undefined"allowscriptaccess="always"allowfullscreen="true"flashvars="file={FIELDTEXT}&backcolor=ffa715&frontcolor=000000&lightcolor=660066&screencolor=660066&dock=false"/>

or

<script type="text/javascript">
var so = new SWFObject('player-licensed.swf','mpl','470','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file={FIELDTEXT}&backcolor=ffa715&lightcolor=660066&screencolor=660066&dock=false');
so.write('player');
</script>


The website livingelectro.com does it however I cant find what to recall because the .mp3 file only works till I reset cookies

Aug. 13, 2009Igor Jovanovic

Hi !
Can you please tell me, how i can embed flv file from this page :
http://it.sevenload.com/video/sIQc18ws-01-Pare-ili-zivot
To my JW player, 4.5 v...
I tryed to find in source, but is difficul..
Is there any program for finding .flv urls ?

Thanks !

Aug. 25, 2009victories

Hi Mr Jovanovic

try http://www.hasangul.com/mega/sevenload.php?v=sIQc18w

v=sevenloadid

your player code

file=http://www.hasangul.com/mega/sevenload.php?v=sIQc18w&type=video

Sep. 11, 2009Shantanu

Add support for www.topperlearning.com
I have a valid account at the site(for which I paid) & can watch the videos online but I want to download them.

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.