Skip to content

Commit

Permalink
Merge pull request #161 from mbutsko/master
Browse files Browse the repository at this point in the history
Adding `<audio src="…">` and `<video src="…">` src to domAttributes
  • Loading branch information
rodneyrehm committed Aug 20, 2014
2 parents 658943a + cb598f9 commit 6d0d965
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/URI.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@
'embed': 'src',
'source': 'src',
'track': 'src',
'input': 'src' // but only if type="image"
'input': 'src', // but only if type="image"
'audio': 'src',
'video': 'src'
};
URI.getDomAttribute = function(node) {
if (!node || !node.nodeName) {
Expand Down

0 comments on commit 6d0d965

Please sign in to comment.