set playsinline via attributes
This commit is contained in:
parent
4af7d4659f
commit
d796b7da63
1 changed files with 1 additions and 0 deletions
|
@ -245,6 +245,7 @@ function renderAnnotations(config) {
|
||||||
var video = document.createElement('video')
|
var video = document.createElement('video')
|
||||||
video.classList.add('player')
|
video.classList.add('player')
|
||||||
video.playsinline = true
|
video.playsinline = true
|
||||||
|
video.attributes['playsinline'] = ""
|
||||||
video.muted = true
|
video.muted = true
|
||||||
if (config.item) {
|
if (config.item) {
|
||||||
setVideoSrc(video, `${baseURL}/${config.item}/480p.webm`)
|
setVideoSrc(video, `${baseURL}/${config.item}/480p.webm`)
|
||||||
|
|
Loading…
Reference in a new issue