forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start RemotePlayback from current time (CAF version)
This is the CAF-version of CL https://crrev.com/c/1263615 The original CL description is as follows: Currently, the new RemotePlayback path always plays videos from the beginning. It also disregard the current play/pause state and always autoplays. This CL fixes both issues by delaying the call to load, until we get our first seek or play command, and by loading the video with the current time. The case when a video that has was never played is cast will be re-examined in a follow up CL (the user intent when casting a video is probably to watch it, so it is probably best to start playback, rather than to force the user to cast and then press play). Bug: 711860 Change-Id: I8f039f7607519a44712554e2907551d7177c425c Reviewed-on: https://chromium-review.googlesource.com/c/1363974 Commit-Queue: Zhiqiang Zhang <zqzhang@chromium.org> Reviewed-by: Thomas Guilbert <tguilbert@chromium.org> Cr-Commit-Position: refs/heads/master@{#614166}
- Loading branch information
Zhiqiang Zhang
authored and
Commit Bot
committed
Dec 5, 2018
1 parent
5f3baa7
commit 51ffd9d
Showing
2 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters