ADD: disableRemotePlayback attribute for HTML5 videos (#18619)

* Add support for disableremoteplayback

* Order attributes alphabetically

Co-authored-by: Tom Brown <Thomas.Brown-CIC-UK@ibm.com>
This commit is contained in:
Thomas Brown
2020-04-16 10:23:48 +01:00
committed by GitHub
co-authored by Tom Brown
parent 71964c0346
commit 5f6b75dd26
3 changed files with 7 additions and 0 deletions
@@ -453,6 +453,11 @@ const attributes = [
tagName: 'video',
read: getProperty('disablepictureinpicture'),
},
{
name: 'disableRemotePlayback',
tagName: 'video',
read: getProperty('disableremoteplayback'),
},
{
name: 'display',
tagName: 'svg',
+1
View File
@@ -336,6 +336,7 @@ reservedProps.forEach(name => {
'defer',
'disabled',
'disablePictureInPicture',
'disableRemotePlayback',
'formNoValidate',
'hidden',
'loop',
@@ -55,6 +55,7 @@ const possibleStandardNames = {
dir: 'dir',
disabled: 'disabled',
disablepictureinpicture: 'disablePictureInPicture',
disableremoteplayback: 'disableRemotePlayback',
download: 'download',
draggable: 'draggable',
enctype: 'encType',