Bug 18426 - Page can still play audio although closed.
Summary: Page can still play audio although closed.
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: History (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-04-11 06:25 PDT by Martin Hassman
Modified: 2024-03-28 21:38 PDT (History)
3 users (show)

See Also:


Attachments
HTML5 autoplaying audio element (158 bytes, text/html)
2008-04-11 06:26 PDT, Martin Hassman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Hassman 2008-04-11 06:25:17 PDT
1) Start Safari only with blank page loaded
2) In the 1st (and the only) tab open attachment of this bug (it plays some audio, because it contains HTML5 audio element)
3) Then open some new page, e.g. http://webkit.org/ in the same tab (audio stops)
4) Go Back in browser history (audio continues)
5) Open new blank tab and switch to it
6) Close 1st tab
7) Audio still continues, although tab was closed.

Strange.
Don't ask me how I have invented this sequence 8-)
Comment 1 Martin Hassman 2008-04-11 06:26:41 PDT
Created attachment 20478 [details]
HTML5 autoplaying audio element
Comment 2 Mark Rowe (bdash) 2008-04-11 16:49:06 PDT
<rdar://problem/5859856>
Comment 3 Ahmad Saleem 2024-03-27 15:09:40 PDT
I have updated the test to have `controls` since without control - audio tag is `display: none`:

Test Case - https://jsfiddle.net/op0jb1L4/1/

I am unable to reproduce this issue on (4) steps, the audio play reset and the audio goes back to initial state.

I am marking this as 'RESOLVED CONFIGURATION CHANGED'.

@Karl - can you check if it is something reproducible by you. I tried it on Safari 17.4.1.
Comment 4 Karl Dubost 2024-03-28 21:38:17 PDT
working for me too. Thanks ahmad