css tweak for fullscreen issue

master
Michael Murtaugh 4 years ago
parent c5edbcf8c2
commit ea6943ca84

@ -54,3 +54,8 @@ video {
width: 100%;
height: 100%;
}
.video-js{
width: 100% !important;
height: 100% !important;
}

@ -39,6 +39,11 @@ var player = videojs('master');
player.play();
//player.auto('true'); // this seems to be wrong (no auto method)
player.autoplay(true);
//player.on("fullscreenchange", (a, b, c) => {
// console.log("fullscreen change", a, b, c);
// var ret = player.isFullscreen();
// console.log("isFullscreen", ret);
//})
</script>
</body>
</html>
Loading…
Cancel
Save