...

View Full Version : embedding youtubes like on face book



strlink
07-24-2009, 02:31 PM
How can i embed youtubes like on facebook:
small window that enalrge itself onclick
i attached a jpg

fside
07-24-2009, 04:02 PM
How can i embed youtubes like on facebook:
small window that enalrge itself onclick
i attached a jpg

Youtube should have the thumbnail, though in your facebook example it looks like facebook is serving the thumbnail (probably copied from youtube). You can use Firebug in Firefox, and hit 'edit' and hover over the item to see the code underneath. It's calling something in one of the scripts to load the actual video. So I'm assuming, though I've not done it myself, that some 'ajax' call would work. You get the address of the thumb and onclick you run you fetch routine to either replace it or have a second box for the video, and hide the thumbnail.

Something like that.

strlink
07-24-2009, 11:34 PM
after 2 hours of firebuging and research i got nothing:(



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum