diff --git a/app/static/js/ascroll.js b/app/static/js/ascroll.js index da6bfbe..d597bf2 100644 --- a/app/static/js/ascroll.js +++ b/app/static/js/ascroll.js @@ -245,7 +245,9 @@ function renderAnnotations(config) { var video = document.createElement('video') video.classList.add('player') video.playsinline = true - video.attributes['playsinline'] = "" + video.setAttribute('playsinline', 'playsinline') + video.setAttribute('webkit-playsinline', 'webkit-playsinline') + video.WebKitPlaysInline = true video.muted = true if (config.item) { setVideoSrc(video, `${baseURL}/${config.item}/480p.webm`)