Bug 245310 - Unexpected interruption of autoplay
Summary: Unexpected interruption of autoplay
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-17 06:13 PDT by Nick
Modified: 2022-09-26 12:54 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2022-09-17 06:13:43 PDT
If allow autoplay on a certain website in safari preferences media content started with injected script will be interrupted throw some time (5-30 seconds). In Safari 16 this bug exist.
Comment 1 Alexey Proskuryakov 2022-09-20 18:42:35 PDT
Could you please provide steps to reproduce that we can follow?
Comment 2 Nick 2022-09-20 21:33:19 PDT
1. Open any website with music.
2. Go to Safari Preferences -> Websites -> Auto-Play and Allow All Auto-Play for site from step 1.
3. Stop music playback. 
4. Open new tab.
5. Wait over 30 minutes.
6. Don’t select tab with music.
7. Start playback using the script.

Playback will be interrupted in some time.
Comment 3 Radar WebKit Bug Importer 2022-09-24 06:14:17 PDT
<rdar://problem/100360129>
Comment 4 Alexey Proskuryakov 2022-09-26 12:54:26 PDT
We are unable to reproduce given these steps. It's not even entirely clear what scenario this is - an extension? or an application that embeds a web view? How is the script injected?

Please provide detailed steps to reproduce that can be followed precisely.