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}
2 files changed