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

Issue 1482393003: Clear m_autoplaying when starting auto playback. (Closed)

Created:
5 years ago by liberato (no reviews please)
Modified:
5 years ago
Reviewers:
philipj_slow
CC:
chromium-reviews, blink-reviews-html_chromium.org, mlamouri+watch-blink_chromium.org, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, nessy, blink-reviews, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clear m_autoplaying when starting auto playback. Previously, m_autoplaying wasn't being cleared when auto playback started. A change in ready state could re-trigger autoplay. For example, seeking after the media has autoplayed to completion would begin playback immediately after the seek finished. BUG=563518 Committed: https://crrev.com/c12dd870a781242cbe6098b3c240cd806ae87740 Cr-Commit-Position: refs/heads/master@{#362731}

Patch Set 1 #

Total comments: 10

Patch Set 2 : cl feedback #

Total comments: 6

Patch Set 3 : cl feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/media/autoplay-clears-autoplaying-flag.html View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
liberato (no reviews please)
i based the test on media/autoplay.html . it seems to be an instance of an ...
5 years ago (2015-11-30 17:49:22 UTC) #3
philipj_slow
https://codereview.chromium.org/1482393003/diff/1/third_party/WebKit/LayoutTests/media/seek-stops-autoplay.html File third_party/WebKit/LayoutTests/media/seek-stops-autoplay.html (right): https://codereview.chromium.org/1482393003/diff/1/third_party/WebKit/LayoutTests/media/seek-stops-autoplay.html#newcode2 third_party/WebKit/LayoutTests/media/seek-stops-autoplay.html:2: <title>seek-stops-autoplay</title> I think a more accurate title would be ...
5 years ago (2015-12-01 09:45:39 UTC) #4
liberato (no reviews please)
https://codereview.chromium.org/1482393003/diff/1/third_party/WebKit/LayoutTests/media/seek-stops-autoplay.html File third_party/WebKit/LayoutTests/media/seek-stops-autoplay.html (right): https://codereview.chromium.org/1482393003/diff/1/third_party/WebKit/LayoutTests/media/seek-stops-autoplay.html#newcode2 third_party/WebKit/LayoutTests/media/seek-stops-autoplay.html:2: <title>seek-stops-autoplay</title> On 2015/12/01 09:45:39, philipj wrote: > I think ...
5 years ago (2015-12-01 23:53:52 UTC) #5
philipj_slow
lgtm % nits If you make a PR for web-platform-tests and assign or ping me, ...
5 years ago (2015-12-02 09:50:14 UTC) #6
liberato (no reviews please)
i should have some time tomorrow or Friday to try upstreaming this. thanks -fl https://codereview.chromium.org/1482393003/diff/20001/third_party/WebKit/LayoutTests/media/autoplay-clears-autoplay-flag.html ...
5 years ago (2015-12-02 15:35:12 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1482393003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1482393003/40001
5 years ago (2015-12-02 15:36:16 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-02 17:09:21 UTC) #12
commit-bot: I haz the power
5 years ago (2015-12-02 17:10:33 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c12dd870a781242cbe6098b3c240cd806ae87740
Cr-Commit-Position: refs/heads/master@{#362731}

Powered by Google App Engine
This is Rietveld 408576698