vumix/commit
add 'auto' setting for player type
author | Michiel Hildebrand |
---|---|
Thu Mar 29 12:05:17 2012 +0200 | |
committer | Michiel Hildebrand |
Thu Mar 29 12:05:17 2012 +0200 | |
commit | 1b2a6b2992cfb6cb74480b1288d3498deaf9d825 |
tree | 4c1739a6e626b48a018f1bcc6cc29aa5729e142b |
parent | 882af48002b2bbbea89ea762807084d7be7b35ad |
Diff style: patch stat
diff --git a/web/js/vuplayer/videoplayer.js b/web/js/vuplayer/videoplayer.js index e2500e3..90dfc59 100644 --- a/web/js/vuplayer/videoplayer.js +++ b/web/js/vuplayer/videoplayer.js @@ -32,7 +32,7 @@ YUI.add('videoplayer', function(Y) { */ VideoPlayer.ATTRS = { src: { - value: "" + value: "auto" }, height: { value: 200 @@ -75,7 +75,7 @@ YUI.add('videoplayer', function(Y) { Y.extend(VideoPlayer, Widget, { initializer: function() { - if(!this.get("playerType")) { + if(this.get("playerType")=="auto") { this._guessPlayerType(); } },