New issue
Advanced search Search tips

Issue 633548 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 456
Owner: ----
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

alert(confirm) dialog stops playing audio

Reported by ykn...@gmail.com, Aug 2 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. play audio like below
    var BellAudio = document.createElement('audio');
    BellAudio.src = '/media/sounds/bell.mp3';
    BellAudio.play();

2. call alert() just after play()

What is the expected behavior?
The audio continues to play.

What went wrong?
The audio stops playing when alert shows.

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes 

Chrome version: 52.0.2743.82  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 22.0 r0

I thinsk it works before.. (I don't remember exactly)
 

Comment 1 by ykn...@gmail.com, Aug 3 2016

You can try it below. I've prepared a web site for testing.
http://133.242.224.61/bug.html

Components: -Internals>Media Blink>Media>Audio Internals>Media>Audio
Labels: -OS-Mac OS-All
Status: Untriaged (was: Unconfirmed)
Reproduced locally. Well, that's gross.

I would guess that what's happening is play() relies on the JS event loop being run to buffer new chunks of audio :(

Marking Blink>Media>Audio for Blink triage. Not sure whether this is by design or not.
Mergedinto: 456
Status: Duplicate (was: Untriaged)
Unfortunately, I think the solution is to fix  bug 456 .

Sign in to add a comment