diff --git a/app/static/js/ascroll.js b/app/static/js/ascroll.js index af3beb8..cd3f66a 100644 --- a/app/static/js/ascroll.js +++ b/app/static/js/ascroll.js @@ -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) diff --git a/app/templates/film.html b/app/templates/film.html index 192c48e..6bcf7b5 100644 --- a/app/templates/film.html +++ b/app/templates/film.html @@ -25,7 +25,7 @@
{{ film.data.summary|safe }}
{{ film.data.summary_zh|safe }}