Rely on the auto play attribute.

Browsers now reliably autoplay, and issuing play prematurely
can generate an error in both Firefox and Chrome.

Hence we can simply remove this call and audio seems to work fine.
This commit is contained in:
Jeremy White 2016-09-28 09:16:51 -05:00
parent dc5fd91f0c
commit 3633675e4b

View File

@ -142,9 +142,6 @@ SpicePlaybackConn.prototype.process_channel_message = function(msg)
else
this.simple_block(data, false);
if (this.audio.paused)
this.audio.play();
return true;
}