-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webkit doesn't seek when readyState is HAVE_METADATA #28
Comments
All true, but the spec also says: http://dev.w3.org/html5/spec/the-iframe-element.html#seeking
In the test you set currentTime when seekable() returns an object with no ranges, so the seek time is changed to 0. The spec doesn't mandate that a file be seekable when it reaches HAVE_METADATA. |
Tomas: You labeled this issue "reported to vendor" can you include the links to bug reports into your description if they are existing and if not (like Opera) just precise which browsers, thanks. |
As written, this issue is about WebKit. In this case the vendor reported the issue to itself: https://bugs.webkit.org/show_bug.cgi?id=72145 |
@eric-carlson Then I think this part of the spec left room to interpretation (once again). If all |
@tsenart -
Yes, and I think this is entirely appropriate. If the spec required specific |
@eric-carlson I understand the use of |
As @tsenart says, the UA can (in most cases) detect that the media is seekable by inspecting the HTTP response headers. In situations where this is not possible, there does seem to be a gap in the spec--as far as I can tell, the author is forced to poll seekable until the target position is available since there's no event tied directly to updates of the seekable attribute (the progress event is probably the closest thing). |
@eric-carlson ping |
Here: http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#seeking
Note that it's an error to seek while in readyState HAVE_NOTHING. All other states are valid, including HAVE_METADATA.
Here: http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#the-ready-states
Under HAVE_METADATA: "The API will no longer raise an exception when seeking."
Also note in that section that canplay is fired when the readyState is HAVE_FUTURE_DATA.
The text was updated successfully, but these errors were encountered: