Embed: player switching
This commit is contained in:
parent
d5c526173b
commit
b3c6aedf5b
5 changed files with 158 additions and 57 deletions
|
@ -25,6 +25,7 @@ p.prototype.build = function (options) {
|
|||
var ele = this.element('video');
|
||||
cont.appendChild(ele);
|
||||
ele.className = '';
|
||||
ele.crossOrigin = 'anonymous'; //required for subtitles
|
||||
|
||||
var shortmime = options.source.type.split('/');
|
||||
shortmime.shift();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue