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 = "ivmmmOevfnwrBvpJWR"; ivmVideo.controls = "controls"; ivmVideo.playisinline = "playsinline"; ivmVideo.poster = "https://ivm.antenaplay.ro/thumbs/antena1/2016/10/04/mmOevfnwrBv_5L.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/antena1/2016/10/04/07483c1fecf1a1407fcd105bb7f92cdc43a86a12305122a26e20c60a46a112f8_480p.mp4/index.m3u8?starttime=1731267889&endtime=1731275089&source=web&token=Ci_TzRI79EJHlJcsBcHchPTK5MI="; 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('#ivmmmOevfnwrBvpJWR'); });