responsive layout
This commit is contained in:
parent
ff4a09260b
commit
39988f20f3
@ -8,13 +8,14 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
let xhr = new XMLHttpRequest();
|
let xhr = new XMLHttpRequest();
|
||||||
xhr.addEventListener("load", () => {
|
xhr.addEventListener("load", () => {
|
||||||
let video = document.createElement("video");
|
let video = document.createElement("video");
|
||||||
video.className = "video-js";
|
video.className = "video-js vjs-big-play-centered";
|
||||||
body.appendChild(video);
|
body.appendChild(video);
|
||||||
let ctype = xhr.getResponseHeader("Content-Type");
|
let ctype = xhr.getResponseHeader("Content-Type");
|
||||||
console.log(ctype);
|
console.log(ctype);
|
||||||
let options = {};
|
let options = {};
|
||||||
options.controls = true;
|
options.controls = true;
|
||||||
options.liveui = true;
|
options.liveui = true;
|
||||||
|
options.responsive = true;
|
||||||
options.techOrder = ["chromecast", "html5"];
|
options.techOrder = ["chromecast", "html5"];
|
||||||
options.plugins = {};
|
options.plugins = {};
|
||||||
options.plugins.chromecast = {};
|
options.plugins.chromecast = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user