Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.
Judging from your description, this issue seems to be related to the Divi theme and its module, and unfortunately we cannot help with that. If the slider works in a normal environment, but does not work in Divi, then it is most likely Divi's fault. I'd recommend to contact the author of Divi, they should be able to help you with their product and its module.
Inserting layer slider shortcode in "code" module of Divi 3 ...
When loading the page, background mp4 video does not play.
In a normal wordpress publication, without using the divi template, if it works.
Try as function (); in header.php and index.php
<? php layerslider (1, 'homepage'); ?>
and get error.
Could you help me Attila?
Hello alejandrorizzo,
Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.
Judging from your description, this issue seems to be related to the Divi theme and its module, and unfortunately we cannot help with that.
If the slider works in a normal environment, but does not work in Divi, then it is most likely Divi's fault.
I'd recommend to contact the author of Divi, they should be able to help you with their product and its module.
Hello Attila ...
solved! the problem....
Automatic playback in Google version m66 is disabled.
Chrome's autoplay policies will change in April of 2018.
https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
Here the solution:
https://stackoverflow.com/questions/49930680/how-to-handle-uncaught-in-promise-domexception-play-failed-because-the-use
Ex.:
<video width="320" height="240" autoplay loop mute>
<source src="/wp-content/uploads/movie.mp4" type="video/mp4" />
</video>
I hope it serves other collaborators.
Best regards!