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 = "ivmZYepPWxQzHrTzot"; ivmVideo.controls = "controls"; ivmVideo.playisinline = "playsinline"; ivmVideo.poster = "https://ivm.antenaplay.ro/thumbs/antena1/2016/09/29/ZYepPWxQzHr_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/antena1/2016/09/29/edabf49c8744b500f1d2342498c9547d4280339c93f91a0d0a5e52e99b0af815_360p.mp4/index.m3u8?starttime=1730419251&endtime=1730426451&source=web&token=ddsj8MX4C88o_DCdpBGammqZE0g="; 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('#ivmZYepPWxQzHrTzot'); });