Bug 206525 - audio in iframe can not be restarted in lockscreen
Summary: audio in iframe can not be restarted in lockscreen
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified iOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-21 04:48 PST by Jonathan
Modified: 2020-01-22 15:44 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan 2020-01-21 04:48:42 PST
If I play an audio element containing an mp3 stream in an iframe and go the lockscreen, I am unable to play it again after having paused it

Steps to reproduce:
1 - on an iphone in safari play an audio element in an iframe (example: https://ccfhs.csb.app/ )
2 - lock the phone
3 - in the lock screen press the pause button to pause the stream
4 - pressing the play button to start the stream again
5 - even though the play button turns into a pause button, the audio never starts playing
6 - when you go back to safari, you see a pause button in the audio element, but the stream does not start playing.. even when toggling the pause button, the stream never starts playing again

Source code of example: https://codesandbox.io/s/priceless-waterfall-ccfhs
Comment 1 Radar WebKit Bug Importer 2020-01-22 15:44:03 PST
<rdar://problem/58814172>
Comment 2 Radar WebKit Bug Importer 2020-01-22 15:44:05 PST
<rdar://problem/58814173>