Bug 164017 - Changes to video size during seek HLS content cause video to remain in seeking state
Summary: Changes to video size during seek HLS content cause video to remain in seekin...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 10
Hardware: Mac OS X 10.11
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-10-26 08:41 PDT by Aaron Boushley
Modified: 2016-11-01 17:03 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 Aaron Boushley 2016-10-26 08:41:52 PDT
Tested in the stable release of Safari 10.0 as well as in the nightly version r207871

1) Begin playback of HLS content in a video tag
2) Perform a seek operation on the video element (set the currentTime property)
3) Add a class that causes the size of the video element to be changed

Expected Result:
Video finishes seeking and plays back at the new size. Firing `seeked` event and leaving the `seeking` state.

Actual Result:
Video finishes seeking and plays back at the new size. However the `seeked` event never fires and the video remains in the `seeking` state.

You can see an example of this happening at the following jsfiddle:

https://jsfiddle.net/boushley/p11mpb6q/

You can see an example of side by side videos one that has the problem and one that doesn't at this jsfiddle:

https://jsfiddle.net/boushley/p11mpb6q/4/
Comment 1 Jer Noble 2016-10-27 09:45:26 PDT
Aaron, on what OS are you seeing this? Yosemite, El Capitan, or Sierra?
Comment 2 Aaron Boushley 2016-10-27 09:53:10 PDT
I see this consistently in El Capitan. Looks like it doesn't reproduce on Sierra. I don't have a Yosemite box to test on.
Comment 3 Jer Noble 2016-10-27 10:13:14 PDT
(In reply to comment #2)
> I see this consistently in El Capitan. Looks like it doesn't reproduce on
> Sierra. I don't have a Yosemite box to test on.

I suspect that this is a platform bug which was fixed in Sierra.
Comment 4 Radar WebKit Bug Importer 2016-11-01 17:03:39 PDT
<rdar://problem/29055585>