mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-html5
synced 2026-01-25 17:14:23 +00:00
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:
parent
dc5fd91f0c
commit
3633675e4b
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user