This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18577 - Redundant requirements to seek when duration changes
Summary: Redundant requirements to seek when duration changes
Status: VERIFIED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Aaron Colwell (c)
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-15 15:05 UTC by Philip Jägenstedt
Modified: 2012-09-17 08:03 UTC (History)
3 users (show)

See Also:


Attachments

Description Philip Jägenstedt 2012-08-15 15:05:19 UTC
http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#source-buffer-duration-updates

"If the current playback position is beyond the new duration, then update HTMLMediaElement.currentTime to the new duration and run the seeking algorithm."

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#durationChange

"If the duration is changed such that the current playback position ends up being greater than the time of the end of the media resource, then the user agent must also seek the to the time of the end of the media resource."

It would be possible to just remove the redundant requirement from MSE, but referencing HTML in a note for clarity is also fine.

(Also, the quoted text looks a lot like an implementation requirement in what is actually a non-normative overview.)
Comment 1 Aaron Colwell (c) 2012-09-14 17:24:26 UTC
I believe this was addressed in the changes for https://www.w3.org/Bugs/Public/show_bug.cgi?id=18576 . The referenced section and text aren't in the spec anymore and the duration change algorithm references the appropriate text in the HTML5 spec.