Add media element attributes
Fixes #1124. I didn't add `volume` because it requires more complicated logic to control properly and I didn't add `paused` because to set it we need to call play() or pause() -- perhaps a mutation method is appropriate.
Ben Alpert committed
Feb 18, 2014 at 12:30 UTC
112a20ce738813ddb5ef1f885c14c358abc4dee9
1 file changed
+3
src/browser/dom/DefaultDOMPropertyConfig.js
+3
@@ -59,6 +59,7 @@ var DefaultDOMPropertyConfig = {
59
contentEditable: null,
60
contextMenu: MUST_USE_ATTRIBUTE,
61
controls: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
62
+ crossOrigin: null,
63
data: null, // For `<object />` acts as `src`.
64
dateTime: MUST_USE_ATTRIBUTE,
65
defer: HAS_BOOLEAN_VALUE,
@@ -82,9 +83,11 @@ var DefaultDOMPropertyConfig = {
83
loop: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
84
max: null,
85
maxLength: MUST_USE_ATTRIBUTE,
86
+ mediaGroup: null,
87
method: null,
88
min: null,
89
multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
90
+ muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
91
name: null,
92
noValidate: HAS_BOOLEAN_VALUE,
93
pattern: null,