Passing disableRemotePlayback as an attribute like so:
<video disableRemotePlayback={true}>
Produces the warning:
Warning: React does not recognize the disableRemotePlayback prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase disableremoteplayback instead. If you accidentally passed it from a parent component, remove it from the DOM element.
It seems like React should recognize it's similar to #15334.
React version: 16.13.1
The current behavior
Warning and not rendering the attribute
The expected behavior
Adding the attribute similar to how it'd render disablePictureInPicture with a final output of:
<video disableRemotePlayback ...>
When rendering it with:
<video disableRemotePlayback={true} ...>
Passing
disableRemotePlaybackas an attribute like so:Produces the warning:
It seems like React should recognize it's similar to #15334.
React version: 16.13.1
The current behavior
Warning and not rendering the attribute
The expected behavior
Adding the attribute similar to how it'd render
disablePictureInPicturewith a final output of:When rendering it with: