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 = "ivmrFDVvL8o77FERth"; ivmVideo.controls = "controls"; ivmVideo.playisinline = "playsinline"; ivmVideo.poster = "https://ivm.antenaplay.ro/thumbs/antena1/2016/09/26/rFDVvL8o77F_1L.jpg"; ivmVideo.classList.add("video-js"); ivmVideo.classList.add("vjs-theme-fantasy"); ivmVideo.classList.add("vjs-big-play-centered"); ivmVideo.classList.add("vjs-16-9"); var ivmSourceFile = document.createElement("source"); ivmSourceFile.src = "https://storage2bp.antenaplay.ro/antena1/2016/09/26/8808021fe5d5dc87a085b4faf1f2719e086df7649b14e5dca92c8a78093bb59b_360p-wide.mp4/index.m3u8?starttime=1730418842&endtime=1730426042&source=web&token=X8Ei72uoJNOpunFsAuOuKud072w="; 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('#ivmrFDVvL8o77FERth'); });