WordPress.org

Support

Support » Plugins and Hacks » WP Video Lightbox » [Resolved] Youtube to Autoplay

[Resolved] Youtube to Autoplay

  • Hi, I noticed a post from about 6 months ago (steps below) but cant find it anywhere in the code to change false to true. How do I get the videos to autoplay once they pop up?

    Thanks in advance

    1. Go to plugins.
    
    2. Under "WP-Video-Lightbox", click "Edit." This opens the relevant plugin files.
    
    3. You will automatically open the 1st file (wp-video-lightbox/wp-video-lightbox.php). Scroll to the middle of the file and you should see:
    
    $vid_lightbox_autoplay = 'false';
    
    4. Change 'false' to 'true'.

    http://wordpress.org/plugins/wp-video-lightbox/

Viewing 2 replies - 1 through 2 (of 2 total)
  • never mind I figured it out. It’s in the wp-video-lightbox/js/video-lightbox.js in case anyone else needs this 🙂

    “never mind I figured it out. It’s in the wp-video-lightbox/js/video-lightbox.js in case anyone else needs this 🙂 “

    This worked for me too. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Youtube to Autoplay’ is closed to new replies.
Skip to toolbar