DescriptionRe-Relanding 'Always notify the WebMediaPlayer of any seek' patch
This change removes short circuit logic for seeking to the current position.
There are certain situations, like seeking to a truncated duration, where the
HTMLMediaElement is not in the best position to determine whether a call to
the WebMediaPlayer is necessary or not. This change allows the
WebMediaPlayer implementation to determine what the best course
of action should be. This also makes the seeking behavior more spec
compliant because even a seek to the current position should have the
seeking attribute be true until a stable state occurs. This is guaranteed
when calling into the WebMediaPlayer and allows all seeks to be treated the
same at the HTMLMediaElement level.
BUG=266631
TEST=LayoutTests/media/video-seek-to-current-position.html
Original CL: https://codereview.chromium.org/431903003/
Re-attemp: https://codereview.chromium.org/456343002/
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199977
Patch Set 1 #
Total comments: 8
Patch Set 2 : address comments #
Total comments: 2
Patch Set 3 : copy seek-to-currentTime.html from web-platform-tests #
Messages
Total messages: 14 (4 generated)
|