Skip to content

Commit cb598f9

Browse files
author
Mike Butsko
committed
Add audio/video src to domAttributes
1 parent 658943a commit cb598f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/URI.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@
225225
'embed': 'src',
226226
'source': 'src',
227227
'track': 'src',
228-
'input': 'src' // but only if type="image"
228+
'input': 'src', // but only if type="image"
229+
'audio': 'src',
230+
'video': 'src'
229231
};
230232
URI.getDomAttribute = function(node) {
231233
if (!node || !node.nodeName) {

0 commit comments

Comments
 (0)