I want to disable Picture in Picture feature for <Video>
tag for my website due to some certification requirements but firefox does not allow to turn off. Any help would be appreciated.
- Firefox uses a
shadow-root
with{mode:"closed"}
to forcefully display Picture in Picture toogle (See the image). - Firefox also not supporting Picture-in-Picture API - check this link
Note: I have also added disablePictureInPicture
attribute but still it's not working for firefox.
<video width="400" src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" controls disablePictureInPicture></video>