I am working on a WordPress website and I have got a YouTube video where the full-screen isn't working. On the iframe
allowfulscreen='true'
is set and when you click on the full-screen icon it does initialize something, however the original body is visible and not the youtube video or in other words its iframe
. Upon inspecting the iframe
it looks like the it has covered the page though the video isn't visible.
I tried setting the z-index
value and opacity
values to make sure that it wasn't an issue with the CSS, however just as a test I made a random element full-screen using $0.webkitRequestFullScreen
the same problem occured. Any idea what can be the possible cause?