Skip to content

Support HTML5 Video Attribute disablePictureInPicture #15333

Closed
@eek

Description

@eek

Bug Report: disablePictureInPicture for html5 video elements are not supported

Eg:

    <video
    src="https://www.w3schools.com/tags/movie.mp4"
    disablePictureInPicture
    loop
    controls
    controlsList="nodownload"  
    ></video>

What is the current behavior?

Should remove the 3 dots (more button) on videos on Chrome:

image

What is the expected behavior?

Instead, the attribute is not taken into consideration so the more menu stays:

image

Example:

https://jsfiddle.net/r1w4x7m0/2/

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

All / Latest, Chrome Browsers, All OSes.

Pull request for this issue has also been submitted: #15334

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions