diff --git a/tubearchivist/home/templates/home/video.html b/tubearchivist/home/templates/home/video.html index 03a2faa..4ecd070 100644 --- a/tubearchivist/home/templates/home/video.html +++ b/tubearchivist/home/templates/home/video.html @@ -9,7 +9,7 @@
diff --git a/tubearchivist/static/script.js b/tubearchivist/static/script.js index efeed9d..2c8061b 100644 --- a/tubearchivist/static/script.js +++ b/tubearchivist/static/script.js @@ -230,6 +230,7 @@ function createPlayer(button) { videoPlayer.setAttribute('controls', true); videoPlayer.setAttribute('autoplay', true); videoPlayer.setAttribute('width', '100%'); + videoPlayer.setAttribute('playsinline', true); videoPlayer.setAttribute('poster', mediaThumb); playerElement.appendChild(videoPlayer); // title bar