homepage Welcome to WebmasterWorld Guest from 54.205.197.66
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Replicate a youtube page to work offline including the video
mishiwishi




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

Hi,

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.


Thanks.

 

MarkFilipak




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

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.

mishiwishi




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

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?

tangor




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

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.

mishiwishi




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

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.

mishiwishi




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

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.


</object>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved