Phenomenal Viborg

Experiences, events and network in the intersection between XR technology, Art, Animation, Business and Education.

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 });