Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Issue 539103002: Seeking media fragment URI before loadeddata event (Closed)

Created:
6 years, 3 months ago by amogh.bihani
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@HAVE_NOTHING
Project:
blink
Visibility:
Public.

Description

Seeking media fragment URI before loadeddata event As per the spec, media fragment URI must seek to start time before loadeddata event. This patch makes media element seek before the loaddeddata event and thereby removes the m_fragmentStartTime. It also introduces the jumped state which avoids this seek if currentTime has been set when readyState is HAVE_NOTHING. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182134

Patch Set 1 #

Total comments: 2

Patch Set 2 : Ready for review #

Total comments: 8

Patch Set 3 : Seeking media fragments if they have media controller #

Total comments: 18

Patch Set 4 : Addressing comments #

Total comments: 11

Patch Set 5 : Renaming file and addressing more comments #

Patch Set 6 : updating layout tests #

Total comments: 1

Patch Set 7 : Rebase #

Total comments: 11

Patch Set 8 : renaming test and addressing comments #

Messages

Total messages: 29 (7 generated)
amogh.bihani
https://codereview.chromium.org/539103002/diff/1/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/539103002/diff/1/Source/core/html/HTMLMediaElement.cpp#newcode1849 Source/core/html/HTMLMediaElement.cpp:1849: applyMediaFragmentURI(); Could you help me understand why this is ...
6 years, 3 months ago (2014-09-04 13:44:18 UTC) #2
philipj_slow
This doesn't quite seem right. In the spec, jumped is just a local variable used ...
6 years, 3 months ago (2014-09-04 13:45:07 UTC) #3
philipj_slow
https://codereview.chromium.org/539103002/diff/1/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/539103002/diff/1/Source/core/html/HTMLMediaElement.cpp#newcode1849 Source/core/html/HTMLMediaElement.cpp:1849: applyMediaFragmentURI(); On 2014/09/04 13:44:18, amogh.bihani wrote: > Could you ...
6 years, 3 months ago (2014-09-04 13:46:45 UTC) #4
amogh.bihani
PTAL. https://codereview.chromium.org/539103002/diff/20001/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/539103002/diff/20001/Source/core/html/HTMLMediaElement.cpp#newcode1822 Source/core/html/HTMLMediaElement.cpp:1822: double end = fragmentParser.endTime(); Does end==0 needs to ...
6 years, 3 months ago (2014-09-05 09:05:44 UTC) #6
philipj_slow
https://codereview.chromium.org/539103002/diff/20001/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/539103002/diff/20001/Source/core/html/HTMLMediaElement.cpp#newcode1822 Source/core/html/HTMLMediaElement.cpp:1822: double end = fragmentParser.endTime(); On 2014/09/05 09:05:43, amogh.bihani wrote: ...
6 years, 3 months ago (2014-09-05 22:49:12 UTC) #7
amogh.bihani
https://codereview.chromium.org/539103002/diff/20001/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/539103002/diff/20001/Source/core/html/HTMLMediaElement.cpp#newcode1822 Source/core/html/HTMLMediaElement.cpp:1822: double end = fragmentParser.endTime(); On 2014/09/05 22:49:11, philipj wrote: ...
6 years, 3 months ago (2014-09-08 09:33:46 UTC) #9
philipj_slow
https://codereview.chromium.org/539103002/diff/20001/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/539103002/diff/20001/Source/core/html/HTMLMediaElement.cpp#newcode1845 Source/core/html/HTMLMediaElement.cpp:1845: jumped = true; On 2014/09/08 09:33:45, amogh.bihani wrote: > ...
6 years, 3 months ago (2014-09-08 14:42:31 UTC) #10
philipj_slow
When the implementation is updated, another test will be needed as well. Step 13 has ...
6 years, 3 months ago (2014-09-10 12:25:49 UTC) #11
philipj_slow
Oh right, you need to update the description to wrap the lines at 72 columns, ...
6 years, 3 months ago (2014-09-10 12:27:15 UTC) #12
amogh.bihani
Sorry for the late reply. I was busy with other thing :( https://codereview.chromium.org/539103002/diff/60001/LayoutTests/media/media-controller-media-fragment-uri.html File LayoutTests/media/media-controller-media-fragment-uri.html ...
6 years, 3 months ago (2014-09-11 13:35:59 UTC) #15
philipj_slow
OK, this looks almost ready now, but the test coverage is probably incomplete. For each ...
6 years, 3 months ago (2014-09-11 14:38:28 UTC) #16
amogh.bihani
Comments in PS 3 and 4. Ill get back with the results of commenting seek ...
6 years, 3 months ago (2014-09-12 11:02:24 UTC) #18
amogh.bihani
On 2014/09/11 14:38:28, philipj wrote: > OK, this looks almost ready now, but the test ...
6 years, 3 months ago (2014-09-12 13:31:31 UTC) #19
amogh.bihani
https://codereview.chromium.org/539103002/diff/180001/LayoutTests/media/video-currentTime-before-have-metadata-media-fragment-uri-expected.txt File LayoutTests/media/video-currentTime-before-have-metadata-media-fragment-uri-expected.txt (right): https://codereview.chromium.org/539103002/diff/180001/LayoutTests/media/video-currentTime-before-have-metadata-media-fragment-uri-expected.txt#newcode1 LayoutTests/media/video-currentTime-before-have-metadata-media-fragment-uri-expected.txt:1: This test is failing because of this whitespace. I ...
6 years, 3 months ago (2014-09-12 13:37:04 UTC) #20
amogh.bihani
On 2014/09/12 13:37:04, amogh.bihani wrote: > https://codereview.chromium.org/539103002/diff/180001/LayoutTests/media/video-currentTime-before-have-metadata-media-fragment-uri-expected.txt > File > LayoutTests/media/video-currentTime-before-have-metadata-media-fragment-uri-expected.txt > (right): > > ...
6 years, 3 months ago (2014-09-16 11:40:45 UTC) #21
philipj_slow
On 2014/09/12 13:31:31, amogh.bihani wrote: > On 2014/09/11 14:38:28, philipj wrote: > > OK, this ...
6 years, 3 months ago (2014-09-16 12:06:36 UTC) #22
philipj_slow
My apologies for letting this sit unattended. The code looks good to me, but when ...
6 years, 3 months ago (2014-09-16 12:27:16 UTC) #23
amogh.bihani
https://codereview.chromium.org/539103002/diff/200001/LayoutTests/media/media-controller-media-fragment-uri-consecutive-append.html File LayoutTests/media/media-controller-media-fragment-uri-consecutive-append.html (right): https://codereview.chromium.org/539103002/diff/200001/LayoutTests/media/media-controller-media-fragment-uri-consecutive-append.html#newcode4 LayoutTests/media/media-controller-media-fragment-uri-consecutive-append.html:4: <title>Test currentTime for media controller when media fragments are ...
6 years, 3 months ago (2014-09-16 13:46:02 UTC) #24
philipj_slow
LGTM to land with or without an additional test. https://codereview.chromium.org/539103002/diff/200001/LayoutTests/media/media-controller-media-fragment-uri-consecutive-append.html File LayoutTests/media/media-controller-media-fragment-uri-consecutive-append.html (right): https://codereview.chromium.org/539103002/diff/200001/LayoutTests/media/media-controller-media-fragment-uri-consecutive-append.html#newcode4 LayoutTests/media/media-controller-media-fragment-uri-consecutive-append.html:4: ...
6 years, 3 months ago (2014-09-16 19:18:15 UTC) #25
amogh.bihani
On 2014/09/16 19:18:15, philipj wrote: > LGTM to land with or without an additional test. ...
6 years, 3 months ago (2014-09-17 03:11:06 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/539103002/220001
6 years, 3 months ago (2014-09-17 03:12:09 UTC) #28
commit-bot: I haz the power
6 years, 3 months ago (2014-09-17 04:46:37 UTC) #29
Message was sent while issue was closed.
Committed patchset #8 (id:220001) as 182134

Powered by Google App Engine
This is Rietveld 408576698