Protected: Our Vision

This content is password protected. To view it please enter your password below:

const videoElement = document.getElementByClass('wp-block-cover__video-background'); videoElement.addEventListener('autostartNotAllowed', (e) => { console.log(e) // message: "The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission." // name: "NotAllowedError" // reason: "autoplayDisabled" }); videoElement.addEventListener('play', () => { // remove play UI });