diff --git a/app/static/js/film.js b/app/static/js/film.js index 144a142..027c175 100644 --- a/app/static/js/film.js +++ b/app/static/js/film.js @@ -35,7 +35,7 @@ document.querySelector('a#play-fullscreen').addEventListener('click', event => { function enterFullscreen(event) { video.removeEventListener('play', enterFullscreen); if (video.webkitRequestFullscreen) { - video.requestFullscreen(); + video.webkitRequestFullscreen(); } else { video.requestFullscreen().catch(err => { console.log(`Error attempting to enable full-screen mode: ${err.message} (${err.name})`);