Tagged: media, media element, video
-
AuthorPosts
-
February 21, 2019 at 6:46 pm #1070058
Hello
the page I’m working on is
https://evokespirit.com/landing-page/free-advanced-human-design-chart/home/I need support please creating the code so that the video automatically plays when you go to that page with the option to still pause it if you would like
Thank you Enfold team
February 26, 2019 at 6:09 am #1071633Hey Nathan,
Thank you for using Enfold.
This is no longer possible because of the browsers’ recent changes in the media autoplay policy.
// https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
Chrome’s autoplay policies are simple:
Muted autoplay is always allowed.
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 play video with sound.
On mobile, the user has [added the site to their home screen].
Top frames can delegate autoplay permission to their iframes to allow autoplay with sound.Best regards,
IsmaelFebruary 26, 2019 at 7:59 pm #1071935I’ve been able to achieve this on mobile and desktop — check out my site at https://www.jamesshulerphotography.com. I’m not sure if this is what you’re referring to — but this is what I was after. There are regulations with HTML5 with regards to sound, attributes, etc. I’m utilizing this for marketing, etc. and it’s really taking off. I’m utilizing a hybrid of vimeo and self hosted mp4s — the ones at the top of each page (and I’m still working on other pages) are all self hosted — hence the poster image that you may see for a second or two.
February 26, 2019 at 8:01 pm #1071936Your video is quite long as has sound, etc. so this may not be ideal. But I see this topic being brought up more and more. With IOS and Android’s latest round of updates, relaxing the grip on video – it can work (again, as long as certain attributes in the video are met and set).
February 27, 2019 at 4:09 am #1072133Hi,
Thanks for the info.
Yes, muted autoplay is allowed, but that audio option is not available on the “Video” element, which is what OP is currently using.
Best regards,
IsmaelMarch 4, 2019 at 6:34 pm #1074473I see so if I mute the video it will auto play
yet does the person have the ability to turn on the sound?
March 5, 2019 at 5:01 am #1074641Hi,
Yes, the user should be able to unmute the video using the video controls. And according to the new policy, if the user passed the Media Engagement Index or if the threshold has been crossed, meaning he/she played a video before, the video will auto play even when it’s not muted.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.