iOS wants playsinline
This commit is contained in:
parent
5bad648fe0
commit
42e7dfb980
2 changed files with 3 additions and 1 deletions
|
|
@ -240,6 +240,7 @@ function loadItem(config) {
|
|||
var loaded = false
|
||||
|
||||
var video = document.createElement('video')
|
||||
video.playsinline = true
|
||||
video.classList.add('player')
|
||||
video.muted = true
|
||||
setVideoSrc(video, `${baseURL}/${config.item}/480p.webm`)
|
||||
|
|
@ -296,6 +297,7 @@ function loadEdit(config) {
|
|||
var loaded = false
|
||||
|
||||
var video = document.createElement('video')
|
||||
video.playsinline = true
|
||||
video.classList.add('player')
|
||||
video.muted = true
|
||||
video.addEventListener('timeupdate', timeupdate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue