Bug 170886 - HTML5 audio not playing automatically next stream
Summary: HTML5 audio not playing automatically next stream
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 10
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-04-16 07:10 PDT by adrian
Modified: 2017-04-18 11:02 PDT (History)
3 users (show)

See Also:


Attachments
test html (2.83 KB, text/html)
2017-04-16 07:12 PDT, adrian
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description adrian 2017-04-16 07:10:09 PDT
I have a little code with play/pause, next, prev buttons. I have multiple tracks (streams) to play and we can jump between them with next, prev buttons. This works beautifully in Firefox, Chrome, but not on Safari (desktop, mobile). In FF and Chrome when you jump to the next, prev stream, the stream auto starts to playing. But not on Safari, the stream stops when I hit the next or prev buttons. What's this behavior?

Here is a working code snippet:

http://stackoverflow.com/questions/43437767/safari-html5-audio-not-playing-automatically-next-stream

Regards,
Adrian
Comment 1 adrian 2017-04-16 07:12:21 PDT
Created attachment 307227 [details]
test html
Comment 2 Radar WebKit Bug Importer 2017-04-18 10:02:07 PDT
<rdar://problem/31683607>
Comment 3 Eric Carlson 2017-04-18 11:02:57 PDT
Your test page works correctly with a top-of-tree build and in the most recent versions of Safari Technology Preview, so it appears that this issue has been fixed.