Skip to content

Commit

Permalink
update getTagNSettings to support vjs-source
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Oct 23, 2017
1 parent b36a129 commit 3b9338c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -3234,7 +3234,7 @@ class Player extends Component {
// Change case needed: http://ejohn.org/blog/nodename-case-sensitivity/
const childName = child.nodeName.toLowerCase();

if (childName === 'source') {
if (childName === 'source' || childName === 'vjs-source') {
baseOptions.sources.push(Dom.getAttributes(child));
} else if (childName === 'track') {
baseOptions.tracks.push(Dom.getAttributes(child));
Expand Down

0 comments on commit 3b9338c

Please sign in to comment.