Don't autoplay from media.js

This commit is contained in:
Jordan Eldredge 2015-01-27 09:07:54 -08:00
parent 3c0774fde3
commit 886dc1de42

View file

@ -15,7 +15,6 @@ Media = {
_balance: 0,
_playing: false,
_loop: false,
autoPlay: false,
init: function() {
// The _source node has to be recreated each time it's stopped or
@ -86,9 +85,6 @@ Media = {
var loadAudioBuffer = function(buffer) {
this._buffer = buffer;
loadedCallback();
if(this.autoPlay) {
this.play(0);
}
};
var error = function (error) {