Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    embedding youtubes like on face book

    How can i embed youtubes like on facebook:
    small window that enalrge itself onclick
    i attached a jpg
    Attached Thumbnails Attached Thumbnails embedding youtubes like on face book-1.jpg  

  • #2
    Regular Coder
    Join Date
    Mar 2008
    Posts
    301
    Thanks
    2
    Thanked 30 Times in 30 Posts
    Quote Originally Posted by strlink View Post
    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.

  • #3
    New to the CF scene
    Join Date
    Jul 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    after 2 hours of firebuging and research i got nothing


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •