src/widgets/AdaptivePlayer.js
changeset 1013 392ddcd212d7
parent 987 7b65bf78873a
child 1042 a128e59ca2b1
equal deleted inserted replaced
1012:7e18d953a1f8 1013:392ddcd212d7
     6 
     6 
     7 IriSP.Widgets.AdaptivePlayer.prototype.defaults = {
     7 IriSP.Widgets.AdaptivePlayer.prototype.defaults = {
     8     mime_type: "video/mp4",
     8     mime_type: "video/mp4",
     9     normal_player: "HtmlPlayer",
     9     normal_player: "HtmlPlayer",
    10     fallback_player: "JwpPlayer"
    10     fallback_player: "JwpPlayer"
    11 }
    11 };
    12 
    12 
    13 IriSP.Widgets.AdaptivePlayer.prototype.draw = function() {
    13 IriSP.Widgets.AdaptivePlayer.prototype.draw = function() {
    14     
    14     
    15     if (typeof this.video === "undefined") {
    15     if (typeof this.video === "undefined") {
    16         this.video = this.media.video;
    16         this.video = this.media.video;
    28         }
    28         }
    29     }
    29     }
    30 
    30 
    31     this.insertSubwidget(this.$, _opts);
    31     this.insertSubwidget(this.$, _opts);
    32     
    32     
    33 }
    33 };