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

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/android/media/mediadocument/resources/standalone-audio.html

Issue 1780043002: Add download button to MediaDocument on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use base::Feature instead of switches Created 4 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <meta name="viewport" content="width=device-width">
4 <style>
5 body {
6 background-color: black;
7 margin: 0;
8 }
9 .button1 {
10 display: inline-block;
11 margin-top: 32px;
12 padding: 0 16px 0 16px;
13 height: 36px;
14 background: #4285F4;
15 font-family: Roboto;
16 font-size: 14px;
17 border-radius: 5px;
18 color: white;
19 font-weight: bold;
20 text-decoration:none;
21 line-height: 36px;
22 }
23
24 .div1 {
25 display: flex;
26 flex-direction: column;
27 justify-content: center;
28 align-items: center;
29 min-height: min-content;
30 height: 100%;
31 }
32
33 .div2 {
34 text-align: center;
35 position: absolute;
36 left: 0;
37 right: 0;
38 }
39
40 .video {
41 height: 1px;
42 width: 300px;
43 object-fit: contain;
44 }
45 </style>
46 </head>
47 <body>
48 <div class="div1">
49 <video controls autoplay class="video"><source src="../../../../../media/content /silence.wav"></video>
50 <div class="div2"><a href="../../../../../media/content/silence.wav" download cl ass="button1">DOWNLOAD</a></div>
51 </div>
52 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698