winlin

auto play, donot scale audio volume

@@ -78,7 +78,6 @@ @@ -78,7 +78,6 @@
78 realtime_player = new SrsPlayer("realtime_player", 430, 185); 78 realtime_player = new SrsPlayer("realtime_player", 430, 185);
79 realtime_player.on_player_ready = function() { 79 realtime_player.on_player_ready = function() {
80 this.set_bt(0.5); 80 this.set_bt(0.5);
81 - this.set_fs("screen", 100);  
82 }; 81 };
83 realtime_player.start(); 82 realtime_player.start();
84 } 83 }
@@ -230,6 +229,7 @@ @@ -230,6 +229,7 @@
230 var _player = new SrsPlayer("rp_raw_" + chat.id, 600, 300, chat); 229 var _player = new SrsPlayer("rp_raw_" + chat.id, 600, 300, chat);
231 _player.on_player_ready = function() { 230 _player.on_player_ready = function() {
232 this.set_bt(0.5); 231 this.set_bt(0.5);
  232 + this.play();
233 this.set_fs("screen", 100); 233 this.set_fs("screen", 100);
234 }; 234 };
235 _player.start(chat.url); 235 _player.start(chat.url);
@@ -253,8 +253,8 @@ @@ -253,8 +253,8 @@
253 if (!chat || !chat.player) { 253 if (!chat || !chat.player) {
254 return; 254 return;
255 } 255 }
256 - chat.player.volume = 2.0;  
257 chat.player.play(); 256 chat.player.play();
  257 + chat.player.set_fs("screen", 100);
258 }); 258 });
259 } 259 }
260 260
@@ -426,6 +426,7 @@ @@ -426,6 +426,7 @@
426 // directly play the url for the realtime player. 426 // directly play the url for the realtime player.
427 realtime_player.stop(); 427 realtime_player.stop();
428 realtime_player.play(url, 0); 428 realtime_player.play(url, 0);
  429 + realtime_player.set_fs("screen", 100);
429 } 430 }
430 } 431 }
431 }); 432 });
@@ -512,7 +513,7 @@ @@ -512,7 +513,7 @@
512 <img src="img/tooltip.png"/> 513 <img src="img/tooltip.png"/>
513 </span> 514 </span>
514 </div> 515 </div>
515 - <div id="collapseM" class="accordion-body collapse"> 516 + <div id="collapseM" class="accordion-body collapse in">
516 <div class="accordion-inner"> 517 <div class="accordion-inner">
517 <div class="row-fluid"> 518 <div class="row-fluid">
518 <div class="span2"> 519 <div class="span2">