Commit 33e085fe authored by Naoki Fukino's avatar Naoki Fukino Committed by Commit Bot

Files app: Enable muted autoplay for previewing video files.

Due to a Chrome policy change, autoplaying videos does not work in quick view.
Instead, we introduce muted autoplay to help users preview video files.

Bug: 804273
Test: Manually tested.
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I07768b04ff3994f53811d22fd33613291dd5b896
Reviewed-on: https://chromium-review.googlesource.com/920049Reviewed-by: default avatarTatsuhisa Yamaguchi <yamaguchi@chromium.org>
Commit-Queue: Naoki Fukino <fukino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536980}
parent c2c1737e
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<link rel="stylesheet" type="text/css" href="files_safe_video_webview_content.css"> <link rel="stylesheet" type="text/css" href="files_safe_video_webview_content.css">
</head> </head>
<body> <body>
<video hidden id="content" autoplay controls controlsList="nodownload"> <video hidden id="content" muted autoplay controls controlsList="nodownload">
</video> </video>
<script src="files_safe_media_webview_content.js"></script> <script src="files_safe_media_webview_content.js"></script>
</body> </body>
......
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