Advanced Search

Results 1 to 4 of 4

Thread: make only one youtube video playing

  1. #1
    Join Date
    Sep 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default make only one youtube video playing

    i have a webpage with serveral embedded youtube videos.
    how is it possible to stop a playing youtubevideo when i click at another one. i want to avoid that multiple videos are played at the same time.
    can i reset all contained youtube videos before playing the new one?
    i want to combine this with Virtual Pagination script http://www.dynamicdrive.com/dynamici...pagination.htm to split the different videos on "pages".

    thanks in advance!

    bd0

  2. #2
    Join Date
    Sep 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default anyone who can help?

    is there nobody who can help me with this problem, or is it just posted in the wrong category?

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,690
    Thanks
    43
    Thanked 3,129 Times in 3,095 Posts
    Blog Entries
    12

    Default

    I'll move it to Flash for you. It would probably do better there.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    John, actually this is more of a JavaScript question.

    Well, you could implement a Flash-only solution, but since the Youtube player is going to be embedded within HTML (instead of within another Flash player, for example), it makes more sense to use JavaScript.

    bdo, you will need to look into the YouTube JavaScript API. To enable an API with your videos, simply add &enablejsapi=1 to the end of your YouTube video URIs. Then you can manipulate the YouTube videos via JavaScript.

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
  •