-
Notifications
You must be signed in to change notification settings - Fork 0
/
fileUpload.html
75 lines (68 loc) · 2.01 KB
/
fileUpload.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!doctype html>
<html>
<head>
<title>Upload a File</title>
<style>
body{
background: #CCCCCC;
position: relative;
}
.theURLsec {
text-align: center;
font-size: 30px;
border: 5px solid #000000;
margin: auto;
width: 50%;
position: absolute;
top: 200px;
left: 25%;
}
li span {
position: relative;
left: -100px;
}
</style>
</head>
<body>
<!-- <h1>Upload new File</h1>
<form method=post enctype=multipart/form-data>
<input type=file name=file>
<input type=submit value=Upload>
</form> -->
<table>
<tr>
<td>
<div class="theURLsec">
<h3>
Upload a video file
</h3>
<form method=post enctype=multipart/form-data>
<input type=file name=file style="height: 50px;">
<input type=submit value=Upload style="height: 30px;">
</form>
Did you say: {{ transcription }}<br>
<a href="{{ url_for('download', filename=file) }}" target="_blank"> go to /download?filename= to download the video file </a>
</div>
</td>
<td>
<!-- <div class="theURLsec" style="top: 450px;">
Sri Sairam college of Engineering
</div> -->
</td>
</tr>
</table>
<script>
function redirectTo(){
let redirectURL = document.getElementById('url').value;
location.replace(redirectURL)
}
</script>
</body>
</html>
<!-- <!doctype html>
<title>Upload new File</title>
<h1>Upload new File</h1>
<form method=post enctype=multipart/form-data>
<input type=file name=file>
<input type=submit value=Upload>
</form>-->