Originally Posted by strlink
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.