WordPress.org

Forums

WP Video Lightbox
[resolved] Youtube to Autoplay (3 posts)

  1. gediweb
    Member
    Posted 1 year ago #

    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/

  2. gediweb
    Member
    Posted 1 year ago #

    never mind I figured it out. It's in the wp-video-lightbox/js/video-lightbox.js in case anyone else needs this :)

  3. gabevanlelyveld
    Member
    Posted 1 year ago #

    "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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.