var runOnce = false; var V1597 = videojs('player2',{ controls:true, autoplay:false, loop:false, preload:'auto', poster:"https://www.mrsexe.tv/images/loading.jpg", fluid:true },{plugins:{thumbnails:{width:120,height:90, basePath : "https://img.mrsexe.tv/thumbs/12516_3_1500/"}}}); var PLAYER_VIDEO_OVERLAY = document.querySelector('.video-overlay'); V1597.on('vast.adStart', function () { if (PLAYER_VIDEO_OVERLAY){ PLAYER_VIDEO_OVERLAY.style.display = 'none'; } }); V1597.on('vast.contentStart', function () { if (PLAYER_VIDEO_OVERLAY){ PLAYER_VIDEO_OVERLAY.style.display = 'block'; } }); V1597.src("https://dlms3.mrsexe.tv/10af48a653f9678fa5f81af153eab0c6.mp4"); V1597.on('play',function(event) { if (runOnce == false) { runOnce = true; callplay('1597','lfapc',''); } }); var myVideo = document.getElementById("player2"); if (myVideo.addEventListener) { myVideo.addEventListener('contextmenu', function(e) { e.preventDefault(); }, false); } else { myVideo.attachEvent('oncontextmenu', function() { window.event.returnValue = false; }); }