fullscreen

This commit is contained in:
Roy Olav Purser 2021-05-12 16:51:42 +02:00
parent 39988f20f3
commit 71a6007ad1
Signed by: roypur
GPG Key ID: E14D26A036F21656
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<style>body { margin: 0px; }</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ videojs_version }}/video-js.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ videojs_version }}/video-js.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@silvermine/videojs-chromecast@latest/dist/silvermine-videojs-chromecast.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@silvermine/videojs-chromecast@latest/dist/silvermine-videojs-chromecast.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ videojs_version }}/video.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ videojs_version }}/video.min.js"></script>

View File

@ -16,6 +16,8 @@ document.addEventListener("DOMContentLoaded", () => {
options.controls = true; options.controls = true;
options.liveui = true; options.liveui = true;
options.responsive = true; options.responsive = true;
options.fluid = true;
options.fill = true;
options.techOrder = ["chromecast", "html5"]; options.techOrder = ["chromecast", "html5"];
options.plugins = {}; options.plugins = {};
options.plugins.chromecast = {}; options.plugins.chromecast = {};