www.webdeveloper.com
Results 1 to 2 of 2

Thread: Embed Random YouTube Script

  1. #1
    Join Date
    Nov 2009
    Posts
    1

    Smile Embed Random YouTube Script

    I am looking for support to create a simple Javascript that will randomly select amongst several YouTube videos (all from our channel) and embed it on a specific page of our website. That way, when anyone visits, they can experience any one of 10 of our videos.

    Please advise and thanks!

    Edit by admin: no contact info permitted on the forum, thank you

  2. #2
    Join Date
    Nov 2009
    Location
    Berlin
    Posts
    9
    Hi,

    here you can get information about the youtube api and here is a tutorial.

    I'm using it with Zend Gdata and I have absolutely no clue about JavaScript or webdevelopment but it kinda works.

    You can generate a request for a user feed, store this in an Array and select a random feed from there to be displayed.

    good luck
    cheers

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles