<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Abdul Qabiz's Blog from India - Latest Comments in Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://abdulqabiz.disqus.com/</link><description>Abdul Qabiz on Web Technologies, Flash Platform, RIA, India - a developer and entrepreneur, from Kanpur, India, on web technologies, software, technologies, electronics, adobe flash platform (flex, flash, air), web, open source, linux, free software, usability, startups, etc.
</description><atom:link href="https://abdulqabiz.disqus.com/constructing_youtube_flv_url_on_client_side_without_any_server_side_script/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 27 Jun 2011 08:08:49 -0000</lastBuildDate><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-235904315</link><description>&lt;p&gt;I am sure, there are ways to do. This post is very old and I am not even sure, these techniques work anymore.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdul Qabiz</dc:creator><pubDate>Mon, 27 Jun 2011 08:08:49 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-223070492</link><description>&lt;p&gt;How can we play video from domains like Youtube like dailymotion? &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Miranda</dc:creator><pubDate>Fri, 10 Jun 2011 07:21:29 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-55158895</link><description>&lt;p&gt;Getting runtime error:&lt;br&gt;TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;br&gt;	at &lt;a href="http://flash.net" rel="nofollow noopener" target="_blank" title="flash.net"&gt;flash.net&lt;/a&gt;::URLVariables/decode()&lt;br&gt;	at YouTubeClientSideDemoFlex/handlerLoaderInit()&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aa</dc:creator><pubDate>Mon, 07 Jun 2010 14:52:14 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-20369601</link><description>&lt;p&gt;Tryout &lt;a href="http://youtubegrabit.com" rel="nofollow noopener" target="_blank" title="http://youtubegrabit.com"&gt;http://youtubegrabit.com&lt;/a&gt; ... it works perfectly for all videos (including HD!)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Z</dc:creator><pubDate>Sun, 18 Oct 2009 23:15:54 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-16627779</link><description>&lt;p&gt;Yup! YouTube has done changes so many times, they kept changing the ways. After a point, it was hard for me to keep track of it, hence no update in my script in long time.&lt;/p&gt;&lt;p&gt;I always promise to update it but can't, due to various other commitments. I am sure, there are a lot of folks who are taking care of it, i.e. always coming up with new ways to do things.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdul Qabiz</dc:creator><pubDate>Tue, 15 Sep 2009 11:07:34 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-16556131</link><description>&lt;p&gt;Since August 12 2009 Youtube has changed the htlm source code of their video web pages,,,so this old method doesnt work anymore...&lt;/p&gt;&lt;p&gt;Does somebody know how to build the the donwload url for the new youtube video pages format?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Name</dc:creator><pubDate>Sun, 13 Sep 2009 22:51:30 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460458</link><description>&lt;p&gt;Seems like YouTube is working against this obviously, all new php scrips work for a while then they stop working.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">funkyjones</dc:creator><pubDate>Tue, 19 May 2009 06:05:47 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460457</link><description>&lt;p&gt;Notice: Undefined offset: 1 in dm.php on line 77&lt;br&gt;This script is wrong! Anyone know working code?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bora</dc:creator><pubDate>Wed, 11 Feb 2009 01:33:27 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460456</link><description>&lt;p&gt;comment obtenir l'url flv de youtube avec un script php&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Qaido</dc:creator><pubDate>Thu, 15 Jan 2009 16:02:53 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460455</link><description>&lt;p&gt;This technique to get the FLV URL indeed no longer work. You now have to load the swf web page and extract the parameters from there. I've posted the source code to do that on my blog:&lt;br&gt;&lt;a href="http://pogopixels.com/blog/getting-the-url-of-a-youtube-flv-file-in-flash/" rel="nofollow noopener" target="_blank" title="http://pogopixels.com/blog/getting-the-url-of-a-youtube-flv-file-in-flash/"&gt;http://pogopixels.com/blog/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Laurent</dc:creator><pubDate>Mon, 03 Nov 2008 15:58:18 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460454</link><description>&lt;p&gt;Hi Guys&lt;br&gt;Sorry for not responding to your comments, seems it's time for an updated post for latest workaround.&lt;br&gt;I have been busy with many things, one of those is Chromeless AS3 Player (YouTube) Wrapper - It uses ExternalInterace or LocalConnection (both options would be there).&lt;br&gt;Once it's ready, I would post it.&lt;br&gt;Thanks&lt;br&gt;-abdul&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abdul Qabiz</dc:creator><pubDate>Thu, 30 Oct 2008 02:39:56 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460453</link><description>&lt;p&gt;download the html page in as3 (&lt;a href="http://www.youtube.com/watch?v=.....)" rel="nofollow noopener" target="_blank" title="www.youtube.com/watch?v=.....)"&gt;www.youtube.com/watch?v=.....)&lt;/a&gt;, search for swfargs= and split and decode the parameters behind this string, then you can compose the video-url again, it works on my site&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alain Raap</dc:creator><pubDate>Wed, 29 Oct 2008 18:36:03 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460451</link><description>&lt;p&gt;use this way to call the video-url. First call &lt;a href="http://www.youtube.com/watch?video" rel="nofollow noopener" target="_blank" title="www.youtube.com/watch?video"&gt;www.youtube.com/watch?video&lt;/a&gt;, you should return the result in AS2/3 as a text (html), then search for the text swfargs = and decode the variables in this string, then you can rebuild the right url again, I've got it working on my own site&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alain Raap</dc:creator><pubDate>Wed, 29 Oct 2008 18:33:11 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460450</link><description>&lt;p&gt;Hi!&lt;br&gt;Your blog helped me to develop Youtube widget player. Thank you!&lt;br&gt;As other people said, the url format had been changed. Does anyone find the new way of getting flv url?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mincheol Lee</dc:creator><pubDate>Tue, 28 Oct 2008 23:10:26 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460449</link><description>&lt;p&gt;Hmm...  I'm trying to write a workaround for this right now.  The AS3 chromeless API might work, as long as you don't mind using the external interface controls for your embedded player.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">owen</dc:creator><pubDate>Tue, 28 Oct 2008 18:54:27 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460448</link><description>&lt;p&gt;Yes, youtube's broken the "t=" method. Not sure how to resolve this. They're saying that downloading videos breaks the "Terms of Service" agreement.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yes</dc:creator><pubDate>Tue, 28 Oct 2008 16:26:07 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460447</link><description>&lt;p&gt;They changed the code on their server.&lt;br&gt;Even though I can get the t var and perform a GET on the get_video url, i get a 404 not found on the download.&lt;br&gt;But if I use a web browser and view the source, and manually extract the t variable, the download link works.&lt;br&gt;Maybe it's something to do with cookies...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ajmssc</dc:creator><pubDate>Mon, 27 Oct 2008 21:02:21 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460446</link><description>&lt;p&gt;I have found a solution to this issue.  Hopefully the following steps will work for you as well.&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;ol&amp;gt;&lt;br&gt;&amp;lt;li&amp;gt;Get the URL to the clip you wish to load.  This URL must be of the form &lt;b&gt;&lt;a href="http://www.youtube.com/watch?v=dMH0bHeiRNg" rel="nofollow noopener" target="_blank" title="http://www.youtube.com/watch?v=dMH0bHeiRNg"&gt;http://www.youtube.com/watc...&lt;/a&gt;&lt;/b&gt;.  If you are getting the URLs from the standardfeeds url (&lt;a href="http://gdata.youtube.com/feeds/api/standardfeeds/" rel="nofollow noopener" target="_blank" title="http://gdata.youtube.com/feeds/api/standardfeeds/"&gt;http://gdata.youtube.com/feeds/api/standardfeeds/&lt;/a&gt;), the URL to the clip is the  &lt;b&gt;media:player&lt;/b&gt; item&lt;br&gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Load this URL and scan the source of the page for the "watch_fullscreen" URL.  It will look something like this:&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;&lt;br&gt;&lt;br&gt;Â Â &lt;br&gt;var fullscreenUrl = '/watch_fullscreen?fs=1...&lt;br&gt;&amp;lt;li&amp;gt;Take everything after "watch_fullscreen?" and save it to a variable (we'll use &lt;i&gt;params&lt;/i&gt;)&lt;br&gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;Generate your FLV url as follows:&lt;br&gt;&amp;lt;/li&amp;gt;&lt;br&gt;&lt;br&gt;Â Â finalURL = "&lt;a href="http://www.youtube.com/get_video.php?" rel="nofollow noopener" target="_blank" title="http://www.youtube.com/get_video.php?"&gt;http://www.youtube.com/get_...&lt;/a&gt;" + &lt;i&gt;params&lt;/i&gt;;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;And there you go.  Hope this works for you.&lt;br&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian</dc:creator><pubDate>Mon, 27 Oct 2008 14:28:09 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460445</link><description>&lt;p&gt;Yes it doesn't work now.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gaurav</dc:creator><pubDate>Mon, 27 Oct 2008 04:47:05 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460444</link><description>&lt;p&gt;Hi It was so useful for me. But since last week the program doesn`t work. I think the U-tube change url method or thet don`t want to acess like this way. I really want to use this program again. so do U have another way to use it?? thank you for you`re kindness Bye :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kay</dc:creator><pubDate>Sun, 26 Oct 2008 03:54:02 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460443</link><description>&lt;p&gt;help...&lt;br&gt;doesn't work now! t urlVars = undefined&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ural</dc:creator><pubDate>Fri, 24 Oct 2008 17:18:58 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460442</link><description>&lt;p&gt;Please! Someone help! What is new format???&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Seraphim</dc:creator><pubDate>Fri, 24 Oct 2008 13:58:02 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460441</link><description>&lt;p&gt;Yep!&lt;br&gt;Seems to no longer work.&lt;br&gt;Would be nice to have an update, ... but ...&lt;br&gt;Greg&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Greg</dc:creator><pubDate>Thu, 23 Oct 2008 16:19:16 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460440</link><description>&lt;p&gt;Yep!&lt;br&gt;Seems to no longer work.&lt;br&gt;Would be nice to have an update, ... but ...&lt;br&gt;Greg&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Greg</dc:creator><pubDate>Thu, 23 Oct 2008 16:18:02 -0000</pubDate></item><item><title>Re: Constructing YouTube FLV URL on client-side without any server-side script</title><link>http://www.abdulqabiz.com/blog/archives/2007/04/02/constructing-youtube-flv-url-on-client-side-without-any-server-side-script/#comment-15460439</link><description>&lt;p&gt;This hack, after working reliably for a year, appears to have been broken by a change in Youtube format.  Can anyone else confirm this?  Any workarounds yet?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andy Milburn</dc:creator><pubDate>Thu, 23 Oct 2008 16:07:11 -0000</pubDate></item></channel></rss>