Embed: player switching

This commit is contained in:
Cat 2016-12-08 16:57:40 +01:00 committed by Thulinma
parent d5c526173b
commit b3c6aedf5b
5 changed files with 158 additions and 57 deletions

View file

@ -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();