imseldrith commited on
Commit
8d5b577
1 Parent(s): a0b184e

Create dub.html

Browse files
Files changed (1) hide show
  1. templates/dub.html +38 -0
templates/dub.html ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dubbed Video</title>
5
+ <style>
6
+ .container {
7
+ display: flex;
8
+ flex-direction: column;
9
+ align-items: center;
10
+ margin-top: 50px;
11
+ }
12
+ video {
13
+ width: 80%;
14
+ margin-bottom: 20px;
15
+ }
16
+ a {
17
+ padding: 10px 20px;
18
+ background-color: #4CAF50;
19
+ color: white;
20
+ border: none;
21
+ border-radius: 5px;
22
+ cursor: pointer;
23
+ text-decoration: none;
24
+ }
25
+ a:hover {
26
+ background-color: #3e8e41;
27
+ }
28
+ </style>
29
+ </head>
30
+ <body>
31
+ <div class="container">
32
+ <video controls>
33
+ <source src="{{url_for('download', filename=filename)}}" type="video/mp4">
34
+ </video>
35
+ <a href="{{url_for('download', filename=filename)}}">Download Dubbed Video</a>
36
+ </div>
37
+ </body>
38
+ </html>