Currently, I am facing an issue while trying to embed a video from YouTube. I am unable to draw anything (text, image, etc.) when the video is in fullscreen mode. Despite my attempts to use z-index, it has not been successful.
My goal is to create a new controller for my video player instead of using the default YouTube controller. When the user enters fullscreen mode, I want to display a div that contains controls such as play
, pause
, etc.
Although I have tried using ?wmode=transparent
, it does not work in fullscreen mode. This means that my custom controller is not visible when the video is in fullscreen.