Commit 5fd964bd authored by Peter Qiu's avatar Peter Qiu Committed by Commit Bot

[Chromecast] Enable media autoplay without requiring user gesture

Bug: internal b/65850770
Test: cast video using Youtube app
Change-Id: Ic2093170c2fc2ecace6e8580a3dacabd504ca75e
Reviewed-on: https://chromium-review.googlesource.com/671133Reviewed-by: default avatarSergey Volk <servolk@chromium.org>
Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
Commit-Queue: Peter Qiu <zqiu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#502915}
parent 557ba888
...@@ -263,6 +263,9 @@ const DefaultCommandLineSwitch kDefaultSwitches[] = { ...@@ -263,6 +263,9 @@ const DefaultCommandLineSwitch kDefaultSwitches[] = {
// TODO(halliwell): Revert after fix for b/63101386. // TODO(halliwell): Revert after fix for b/63101386.
{switches::kDisallowNonExactResourceReuse, ""}, {switches::kDisallowNonExactResourceReuse, ""},
{switches::kEnableMediaSuspend, ""}, {switches::kEnableMediaSuspend, ""},
// Enable autoplay without requiring any user gesture.
{switches::kAutoplayPolicy,
switches::autoplay::kNoUserGestureRequiredPolicy},
}; };
void AddDefaultCommandLineSwitches(base::CommandLine* command_line) { void AddDefaultCommandLineSwitches(base::CommandLine* command_line) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment