Thanks @molly. The BCD team are asking the hard questions in https://github.com/mdn/content/pull/30362 about how this can work if it is undefined: > "HTMLVideoElement.prototype.disablePictureInPicture is undefined, so how is it supported? Is it simply that setting the property to true has an effect?" Is that the case? i.e. setting the property, even though it is undefined initially, hides the overlay button? That is what I assumed, but would be good to have it "said".
Bug 1832154 Comment 10 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Thanks @molly. The BCD team are asking the hard questions in https://github.com/mdn/browser-compat-data/pull/21263 about how this can work if it is undefined: > "HTMLVideoElement.prototype.disablePictureInPicture is undefined, so how is it supported? Is it simply that setting the property to true has an effect?" Is that the case? i.e. setting the property, even though it is undefined initially, hides the overlay button? That is what I assumed, but would be good to have it "said".