set playsinline via attributes

This commit is contained in:
j 2021-10-25 09:43:56 +01:00
parent 4af7d4659f
commit d796b7da63

View file

@ -245,6 +245,7 @@ function renderAnnotations(config) {
var video = document.createElement('video')
video.classList.add('player')
video.playsinline = true
video.attributes['playsinline'] = ""
video.muted = true
if (config.item) {
setVideoSrc(video, `${baseURL}/${config.item}/480p.webm`)