Closed damjan25 closed 2 years ago
Hello @damjan25 ,
There is not an explicit method to disable video-click to pause on mobile for this plugin. In addition the plugin does not provide a way to change the style for IMA rendered UI.
That is not to say it isn't possible, just not supported.
Thank you Jackson IMA SDK team
ok understandable. Thank you for explanation :D I will try to find some workaround :P
######## One way to do it is with this line of code:
document.querySelector("#myAdContainer-ima-ad-container > div:nth-child(1)").style.pointerEvents = "none";
But the issue is that then you can not also click on "Learn More" button anymore. ########
🔨 My use case:
ℹ️ Example here https://mysuf.github.io/videojs-ima-player/examples/advanced/index.html if you check it on mobile emulator