'Answer to Elementor Video Background not working On Safari

document.addEventListener('DOMContentLoaded', function() {
  var myvideoVideo = document.querySelector('#myvideo');
  myvideoVideo.muted = true;
  myvideoVideo.loop = true;
  myvideoVideo.play();
});


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source