Embed: Error handling for media resource based players; many small edits

This commit is contained in:
Cat 2016-12-19 16:18:42 +01:00 committed by Thulinma
parent c626fb2855
commit de3043a8e3
10 changed files with 188 additions and 47 deletions

View file

@ -17,7 +17,7 @@ mistplayers.theoplayer = {
var p = mistplayers.theoplayer.player;
p.prototype = new MistPlayer();
p.prototype.build = function (options) {
var ele = this.element('video');
var ele = this.getElement('video');
ele.src = options.src;
ele.width = options.width;