Support

Account

Home Forums Front-end Issues autoplay embed video ?

Solved

autoplay embed video ?

  • Hi there.
    I am using that pulgin to add video to woocommerce product.
    It works fine, using [acf field="video"] on a product description.
    But I would like to make it autoplay.
    Rather than https://youtu.be/XXX
    I tried
    https://youtu.be/XXX?autoplay=1
    but it did not work.

    thanks for your help.

  • Browsers will no auto play videos with sound unless they are muted (yes, even if they don’t actually have sound.)

    https://developers.google.com/web/updates/2017/09/autoplay-policy-changes

  • thanks @hube2.
    Actually I used a text field ans so inserted an iframe with autoplay and it works fine.

  • It really depends on you and your browser settings and the browser settings of visitors and what they have done. I have auto play turned off for everything. There is never a time when I want a video to auto pay. Just because a video auto plays for you does not mean it will autoplay for others.

    Autoplay with sound is allowed if:

    • User has interacted with the domain (click, tap, etc.).
    • On desktop, the user’s Media Engagement Index threshold has been crossed, meaning the user has previously played video with sound.
    • The user has added the site to their home screen on mobile or installed the PWA on desktop.

    So really, unless the user takes steps to prevent it then all they need to do is interact with a page. It’s the first visit when the video will not play or subsequent visits if there has never been any interaction on past visits (bounces)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.