Results 1 to 2 of 2

Thread: Playing 'watch_popup videos' using the YouTube Api for embedding videos

  1. #1
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,363
    Thanks
    31
    Thanked 139 Times in 134 Posts
    Blog Entries
    32

    Default Playing 'watch_popup videos' using the YouTube Api for embedding videos

    YouTube offers users to view their videos in 'popup mode', thus allowing them to watch videos without the annoying comments and ads. Another good thing about watch_popup videos is that YouTube doesn't impose constraints on their width and height. So we'll never see 'video too small' (instead of the real video) when we create very small videos.

    There are also things that watch_popup videos won't allow. We can't force them to NOT SHOW thumbnails for suggested videos (at the end of the video) by simply adding &rel=0 to the url. And we can't force an end point for watch_popup videos by adding &end=some_integer. But - fortunately enough- the YouTube Player API for Iframe Embeds lets us embed watch_popup videos (althought it was not specifically designed for this). So the question is: can we use the YouTube Player API for hiding suggested videos at the end of watch_popups and for creating end points for those videos?

    I created a script proving that this is indeed possible. The result is a player showing YouTube videos without comments, ads and suggested videos but with start points and end points (if desired). Demo and explanations here.
    Last edited by molendijk; 06-21-2013 at 02:34 PM. Reason: Modifications in script

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,363
    Thanks
    31
    Thanked 139 Times in 134 Posts
    Blog Entries
    32

    Default

    21 June:
    I revised the script. It's now possible to also create end points for single videos.

Similar Threads

  1. Using thumbnails for playing multiple YouTube videos
    By molendijk in forum Submit a DHTML or CSS code
    Replies: 2
    Last Post: 03-20-2013, 11:04 PM
  2. Loading YouTube videos using the most recent YouTube embed code
    By molendijk in forum Submit a DHTML or CSS code
    Replies: 11
    Last Post: 05-28-2012, 11:04 PM
  3. playing videos
    By davidjmorin in forum JavaScript
    Replies: 1
    Last Post: 09-27-2007, 10:44 PM
  4. Replies: 5
    Last Post: 03-16-2007, 03:24 PM
  5. Replies: 0
    Last Post: 11-27-2006, 12:37 AM

Bookmarks

Posting Permissions

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