Skip to content

Commit 5190c97

Browse files
committed
Add support for disableremoteplayback
1 parent b680174 commit 5190c97

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

fixtures/attribute-behavior/src/attributes.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,11 @@ const attributes = [
448448
read: getSVGAttribute('direction'),
449449
},
450450
{name: 'disabled', tagName: 'input'},
451+
{
452+
name: 'disableRemotePlayback',
453+
tagName: 'video',
454+
read: getProperty('disableremoteplayback'),
455+
},
451456
{
452457
name: 'disablePictureInPicture',
453458
tagName: 'video',

packages/react-dom/src/shared/DOMProperty.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ reservedProps.forEach(name => {
336336
'defer',
337337
'disabled',
338338
'disablePictureInPicture',
339+
'disableRemotePlayback',
339340
'formNoValidate',
340341
'hidden',
341342
'loop',

packages/react-dom/src/shared/possibleStandardNames.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ const possibleStandardNames = {
5555
dir: 'dir',
5656
disabled: 'disabled',
5757
disablepictureinpicture: 'disablePictureInPicture',
58+
disableremoteplayback: 'disableRemotePlayback',
5859
download: 'download',
5960
draggable: 'draggable',
6061
enctype: 'encType',

0 commit comments

Comments
 (0)