Bug 263706 - HLS Stream Skips Forward When Resumed After Tab is Backgrounded
Summary: HLS Stream Skips Forward When Resumed After Tab is Backgrounded
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 17
Hardware: Mac (Apple Silicon) macOS 14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-25 20:59 PDT by zhenyi
Modified: 2024-01-23 12:41 PST (History)
4 users (show)

See Also:


Attachments
Video demonstration of issue. (262.90 KB, video/mp4)
2023-10-25 20:59 PDT, zhenyi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description zhenyi 2023-10-25 20:59:18 PDT
Created attachment 468344 [details]
Video demonstration of issue.

When a <video> element playing an HLS stream is paused, and the tab is then backgrounded for a period of time (e.g., 5 minutes), upon resuming the video, it skips forward instead of continuing from the paused point.

Steps to Reproduce:
1. Navigate to https://andadinosaur.com/hls-test in Safari.
2. Play the video.
3. Pause the video.
4. Open a new tab (this backgrounds the tab with the video).
5. Wait for 5 minutes.
6. Return to the original tab with the video.
7. Resume the video.

Expected Results: The video should resume from the point where it was paused.

Actual Results: The video skips forward when resumed.
Comment 1 Radar WebKit Bug Importer 2023-10-26 13:19:58 PDT
<rdar://problem/117548456>
Comment 2 Smoley 2024-01-23 12:41:55 PST
This does not reproduce for me on STP186. Are you still able to reproduce this on latest Safari Technology Preview? https://developer.apple.com/safari/download/

Thanks!