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

Unified Diff: content/public/common/content_switches.cc

Issue 2039773003: [Android] Added a runtime flag to enable autoplay of muted videos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed the flag to autoplay-muted-videos Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 1bd5b0894789cbe44a2a0988d335b491c2686cac..8fa65c2af449a7d1db6cbc86cb6e66e5066550ac 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -959,6 +959,9 @@ const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger";
// Enables overscrolling for the OSK on Android.
const char kEnableOSKOverscroll[] = "enable-osk-overscroll";
+
+// Allow videos to autoplay without a user gesture if muted.
+const char kEnableAutoplayMutedVideos[] = "enable-autoplay-muted-videos";
#endif
// Enable the aggressive flushing of DOM Storage to minimize data loss.
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698