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

Issue 614263002: Drop all timeline seeks outside of the seekable range. (Closed)

Created:
6 years, 2 months ago by DaleCurtis
Modified:
6 years, 2 months ago
Reviewers:
philipj_slow
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@seek
Project:
blink
Visibility:
Public.

Description

Drop all timeline seeks outside of the seekable range. Prevents annoying accidental seeks to the beginning of content for streaming content; non-streaming content always exposes (0, duration) as the seekable range so it's unaffected by this change. BUG=412562 TEST=new layout test. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183841

Patch Set 1 #

Total comments: 7

Patch Set 2 : Rebase. Test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
A + LayoutTests/http/tests/media/audio-timeline-seek-outside-seekable.html View 1 2 chunks +8 lines, -5 lines 0 comments Download
M Source/core/html/shadow/MediaControlElements.cpp View 1 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
DaleCurtis
6 years, 2 months ago (2014-10-01 00:08:49 UTC) #2
philipj_slow
I'm a bit worried about the resulting user experience here. The seekable ranges aren't exposed ...
6 years, 2 months ago (2014-10-01 11:14:22 UTC) #3
DaleCurtis
Given that the experience today is that it isn't seekable at all, I wouldn't be ...
6 years, 2 months ago (2014-10-07 21:47:27 UTC) #4
philipj_slow
Yeah, only allowing seeking to seekable ranges sounds like a simple and usable-enough fix.
6 years, 2 months ago (2014-10-08 07:27:55 UTC) #5
DaleCurtis
Finally back from travelling, PTAL! I tried to have the test verify a seek to ...
6 years, 2 months ago (2014-10-14 18:06:26 UTC) #6
philipj_slow
LGTM with a nit, and the test looks good to me. I didn't consider that ...
6 years, 2 months ago (2014-10-16 18:52:51 UTC) #7
DaleCurtis
https://codereview.chromium.org/614263002/diff/1/Source/core/html/shadow/MediaControlElements.cpp File Source/core/html/shadow/MediaControlElements.cpp (left): https://codereview.chromium.org/614263002/diff/1/Source/core/html/shadow/MediaControlElements.cpp#oldcode422 Source/core/html/shadow/MediaControlElements.cpp:422: mediaElement().controller()->setCurrentTime(time); On 2014/10/16 18:52:51, philipj wrote: > On 2014/10/14 ...
6 years, 2 months ago (2014-10-16 19:51:50 UTC) #8
philipj_slow
https://codereview.chromium.org/614263002/diff/1/Source/core/html/shadow/MediaControlElements.cpp File Source/core/html/shadow/MediaControlElements.cpp (left): https://codereview.chromium.org/614263002/diff/1/Source/core/html/shadow/MediaControlElements.cpp#oldcode422 Source/core/html/shadow/MediaControlElements.cpp:422: mediaElement().controller()->setCurrentTime(time); On 2014/10/16 19:51:50, DaleCurtis wrote: > On 2014/10/16 ...
6 years, 2 months ago (2014-10-16 20:03:19 UTC) #9
DaleCurtis
Thanks for review!
6 years, 2 months ago (2014-10-16 21:15:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/614263002/20001
6 years, 2 months ago (2014-10-16 21:15:58 UTC) #12
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 23:17:11 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 183841

Powered by Google App Engine
This is Rietveld 408576698