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.
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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users