• I am having an issue that the plugin doesn’t autoplay the video on tablet and mobile. It autoplays on desktop just fine, but when I open it on my phone, and click the trigger text, it opens the popup but it doesn’t automatically start playing.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Vongries

    (@davidvongries)

    Hi @chrisjkelly,

    what browser are you using on your phone? There are some policies in chrome & safari that prevent videos from autoplay if they’re not muted.

    Best,
    David

    Thread Starter chrisjkelly

    (@chrisjkelly)

    Hi @davidvongries,

    I am testing on Chrome, and Safari.
    So they will only autoplay if the video is muted? Is there a way to mute the video?

    Kind Regards,
    Chris

    • This reply was modified 6 years, 2 months ago by chrisjkelly.
    Plugin Author David Vongries

    (@davidvongries)

    Hi @chrisjkelly,

    can you please double check if it works for you in Firefox? To mute the video, you can filter the embed-url like this:

    function prefix_your_custom_embed_url_attributes( $video_url ) {
        $video_url .= '&mute=1';
        return $video_url;
    }
    
    add_filter( 'wp_video_popup', 'prefix_your_custom_embed_url_attributes' );

    Hope that helps! ??

    Best,
    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Video doesn’t autoplay on Tablet or Mobile’ is closed to new replies.