Hi Klaus
Is there a way to test the video autoplay (for video scene and video spots) as this code and have callback results on supported/unsupported states ?
cf. https://sites.google.com/a/chromium.org…-video/autoplay
Code
var promise = document.querySelector('video').play();
if (promise !== undefined) {
promise.then(_ => {
// Autoplay started!
}).catch(error => {
// Autoplay was prevented.
// Show a "Play" button so that user can start playback.
});
}
onneedtouch/ongottouch/needtouch seems usable for mobile devices but not for desktop.