Don't stop audio playback when hiding a popup (#1995)
This commit is contained in:
parent
9ae38bd8e9
commit
f978819a33
@ -187,8 +187,9 @@ class DisplayAudio {
|
||||
|
||||
_onFrameVisibilityChange({value}) {
|
||||
if (!value) {
|
||||
// The auto-play timer is stopped, but any audio that has already started playing
|
||||
// is not stopped, as this is a valid use case for some users.
|
||||
this.clearAutoPlayTimer();
|
||||
this.stopAudio();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user