var playerCSSFiles = ["https://vjs.zencdn.net/7.10.2/video-js.css", "https://unpkg.com/@videojs/themes@1/dist/fantasy/index.css"]; for(var i = 0; i < playerCSSFiles.length; i++) { var fileref = document.createElement("link") fileref.setAttribute("rel", "stylesheet") fileref.setAttribute("type", "text/css") fileref.setAttribute("href", playerCSSFiles[i]) document.getElementsByTagName("head")[0].appendChild(fileref) } var vjsdefstyle = document.createElement('style'); vjsdefstyle.className = "vjs-styles-defaults"; vjsdefstyle.textContent = ".video-js .vjs-current-time { display:block;padding: 0 .2em; font-size:1rem; } .video-js.vjs-9-16 { width: 100%;max-width: 100%;height: 0;padding-top: 177.778% !important; } .vjs-theme-fantasy .vjs-big-play-button { font-size:50px;box-shadow: 0px 0px 10px 0px #eee; } .video-js .vjs-picture-in-picture-control { display:none; }"; document.getElementsByTagName("head")[0].appendChild(vjsdefstyle); var ivmVideo = document.createElement("video"); ivmVideo.id = "ivmcDBKiSqeaGw8wsD"; ivmVideo.controls = "controls"; ivmVideo.playisinline = "playsinline"; ivmVideo.poster = "https://ivm.antenaplay.ro/thumbs/antenastars/2016/04/28/cDBKiSqeaGw_2L.jpg"; ivmVideo.classList.add("video-js"); ivmVideo.classList.add("vjs-theme-fantasy"); ivmVideo.classList.add("vjs-big-play-centered"); ivmVideo.classList.add("vjs-4-3"); var ivmSourceFile = document.createElement("source"); ivmSourceFile.src = "https://storage2bp.antenaplay.ro/antenastars/2016/04/28/63df4a8910ffbb1aee28709cb4a2cbec4efcb9bac469b10acccc7d2cd9ff848e_360p.mp4/index.m3u8?starttime=1731267716&endtime=1731274916&source=web&token=GjlGTz9T34EePG6CwmUyAUvGqOI="; ivmSourceFile.type = "application/x-mpegURL"; ivmVideo.appendChild(ivmSourceFile); document.getElementById('').appendChild(ivmVideo); document.querySelector('.vjs-theme-fantasy').style.setProperty('--vjs-theme-fantasy--primary', '#eee'); function _LoadIVMScript(c,b){ var a=document.createElement("script");a.type="text/javascript";a.readyState?a.onreadystatechange=function(){ if("loaded"==a.readyState||"complete"==a.readyState)a.onreadystatechange=null,b() }:a.onload=function(){ b() };a.src=c;document.getElementsByTagName("head")[0].appendChild(a) }; _LoadIVMScript("https://vjs.zencdn.net/7.10.2/video.min.js",function () { var player = videojs('#ivmcDBKiSqeaGw8wsD'); });