Results 1 to 2 of 2

Thread: Initializing a Gallery Wall for Youtube videos

  1. #1
    Join Date
    May 2016
    Thanked 0 Times in 0 Posts

    Default Initializing a Gallery Wall for Youtube videos

    1) Script Title: YouTube Gallery Wall

    2) Script URL (on DD):

    3) Describe problem:
    Initializing a Gallery Wall:
    Once the markup for a gallery wall has been defined, simply initialize it by calling the jQuery function: (How do I do this? Where to put the code? (In red)

    after the DOM has loaded, where galleryULref is a jQuery reference to the UL element containing the Youtube links, for example:

    jQuery(function(){ // on DOM load
    	//syntax $(selector).youtubegallery()
    Thanks for your help
    Last edited by jscheuer1; 05-17-2016 at 03:11 PM. Reason: format code

  2. #2
    Join Date
    Mar 2005
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries


    As indicated in Step 1 on the demo page you linked to (the "Insert the following code in the HEAD section of your page" part). Scroll the Step 1 code down and you will see it at the end of that section.

    Generally, it's best to just follow the step by step instructions which end just before the heading "More Information". Then once you get it working, only worry about the separate parts if you need/want to tweak something.
    - John

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

Similar Threads

  1. Make youtube videos play from certain time on website load
    By Tea in forum Looking for such a script or service
    Replies: 1
    Last Post: 03-28-2016, 04:26 PM
  2. Using thumbnails for playing multiple YouTube videos
    By molendijk in forum Submit a DHTML or CSS code
    Replies: 4
    Last Post: 01-15-2015, 02:58 PM
  3. Playing 'watch_popup videos' using the YouTube Api for embedding videos
    By molendijk in forum Submit a DHTML or CSS code
    Replies: 1
    Last Post: 06-21-2013, 03:18 PM
  4. 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
  5. Replies: 5
    Last Post: 03-16-2007, 03:24 PM


Posting Permissions

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