25 lines
701 B
HTML
25 lines
701 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>Short Video Upload</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>Upload a Short Video</h1>
|
||
|
<!-- Form for uploading video; enctype is necessary to allow file uploads -->
|
||
|
<form action="{{ url_for('upload_video') }}" method="post" enctype="multipart/form-data">
|
||
|
<input type="file" name="video" accept="video/*" required>
|
||
|
<input type="submit" value="Upload">
|
||
|
</form>
|
||
|
<!-- Display any flash messages -->
|
||
|
{% with messages = get_flashed_messages() %}
|
||
|
{% if messages %}
|
||
|
<ul>
|
||
|
{% for message in messages %}
|
||
|
<li>{{ message }}</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
{% endif %}
|
||
|
{% endwith %}
|
||
|
</body>
|
||
|
</html>
|