Bug 229286 - [Cocoa] Should video stop being live, time scrubber will not show
Summary: [Cocoa] Should video stop being live, time scrubber will not show
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
Keywords: InRadar
Depends on:
Reported: 2021-08-19 01:08 PDT by Jean-Yves Avenard [:jya]
Modified: 2021-08-24 20:11 PDT (History)
2 users (show)

See Also:

Touch Bar (51.46 KB, image/jpeg)
2021-08-19 01:09 PDT, Jean-Yves Avenard [:jya]
no flags Details
Patch (3.30 KB, patch)
2021-08-23 22:14 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff
Patch (111.77 KB, patch)
2021-08-24 19:24 PDT, Jean-Yves Avenard [:jya]
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Avenard [:jya] 2021-08-19 01:08:41 PDT
Sometime the time scrubber will not show:


1- Open https://jyavenard.github.io/htmltests/tests/mse_mp4/81349236.html
2- Click somewhere on the video to get around autoplay policy or allow media to play for https://jyavenard.github.io domain.
3- Look at the Touch Bar.
4- Playback will start showing up as a live stream, will stall and the seek back to the beginning.

What happens: the scrubber doesn't show.

You may have to refresh the page if the scrubber appears, 90% of the time it won't.

What this page does is start loading a MSE video, setting the duration to Infinity and then load content and start playback.

Once playback has stalled, the duration is set to the buffered range end and loop.

The scrubber should appear when the duration is know as we can now seek in the video.
Comment 1 Radar WebKit Bug Importer 2021-08-19 01:09:05 PDT
Comment 2 Jean-Yves Avenard [:jya] 2021-08-19 01:09:42 PDT
Created attachment 435853 [details]
Touch Bar
Comment 3 Jean-Yves Avenard [:jya] 2021-08-23 22:14:02 PDT
Created attachment 436263 [details]
Comment 4 Eric Carlson 2021-08-24 17:26:15 PDT
Comment on attachment 436263 [details]

Please add a link to the manual test.
Comment 5 Jean-Yves Avenard [:jya] 2021-08-24 19:24:12 PDT
Created attachment 436365 [details]

add manual test
Comment 6 EWS 2021-08-24 20:11:41 PDT
Committed r281543 (240910@main): <https://commits.webkit.org/240910@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 436365 [details].