Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Replicate a youtube page to work offline including the video



11:39 am on Mar 6, 2010 (gmt 0)

5+ Year Member


I am trying to replicate a youtube page to work offline. I copied the webpage files to my local and made everything look like the online page. I downloaded the video already and I tweaked the html page to fix the path of FLV file and the problem is it still would not play the video. The setup is, the player which holds the buttons like play, pause controls is in SWF format and then it accepts the path to the FLV video as argument and plays it.

If there is anybody who has tried doing this in the past successfully, please help. Or any analysis is welcome.



3:50 pm on Mar 7, 2010 (gmt 0)

5+ Year Member

I've tried to run flash off-line many times and have failed every time. There apparently is a ton of run-time code that can only be downloaded from the Adobe site but cannot - or will not - be cached. I gave up. If you find a way to do it, let me know, please.


7:24 pm on Mar 7, 2010 (gmt 0)

5+ Year Member

Actually, it's not just youtube pages, you are right...most of the flash pages can't be replicated offline. If I find a solution, I will surely post it here. Anybody got ideas?


7:56 pm on Mar 7, 2010 (gmt 0)

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

There are flash and swf players out there. I have several open source apps I use for that purpose. But they do not integrate to the scraped page...merely play the content when selected.


10:32 am on Mar 8, 2010 (gmt 0)

5+ Year Member

I have already downloaded the player.swf that youtube uses and the video.flv file as well. I tried replacing the path filename with the one on my local (video.flv) but it still wouldn't play. I'm thinking of not using youtube script on the part of the page and replace it with something simple. Hopefully it will look the same. I'll let you guys know.


7:26 am on Mar 10, 2010 (gmt 0)

5+ Year Member

I gave up on youtube's flv player. I downloaded the SWF player ( watch-vfl148687.swf ) from youtube's page but I don't know how to make it play the video.flv. The player shows on the webpage but the video won't play. I am pretty sure that the variable that I'm using on flashvars is not the right one. Anyway, what I did was to use an open source FLV player from [flv-player.net...] ( I downloaded the maxi type of player) and then used the ff code:

<object type="application/x-shockwave-flash" data="player_flv_maxi.swf" width="650" height="407">
<param name="movie" value="player_flv_maxi.swf" />
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="flv=video.flv&amp;width=650&amp;height=407&amp;autoplay=0" />

Take note of the file paths and change the video.flv to the name of your video. You can also edit the height and width to the size that you want. Hope this helps.

If you know though how to use youtube's own flv player, please share.


Featured Threads

Hot Threads This Week

Hot Threads This Month