last changes in the templates
This commit is contained in:
parent
da57395390
commit
856f33e90d
@ -14,11 +14,17 @@
|
||||
{% elif item.lower().endswith(('.mp4')) %}
|
||||
<video width="320" height="240" controls><source src="../{{ item }}" type="video/mp4">Your browser does not support the video tag.</video>
|
||||
|
||||
{% elif item.lower().endswith(('.mov')) %}
|
||||
<video width="320" height="240" controls><source src="../{{ item }}" type="video/mov">Your browser does not support the video tag.</video>
|
||||
|
||||
{% elif item.lower().endswith(('.mp3')) %}
|
||||
<audio controls><source src="../{{ item }}" type="audio/mpeg">Your browser does not support the audio tag.</audio>
|
||||
<audio controls><source src="../{{ item }}" type="audio/mp3">Your browser does not support the audio tag.</audio>
|
||||
|
||||
{% elif item.lower().endswith(('.wav')) %}
|
||||
<audio controls><source src="../{{ item }}" type="audio/wav">Your browser does not support the audio tag.</audio>
|
||||
|
||||
{% elif item.lower().endswith(('.pdf')) %}
|
||||
<iframe src="../{{ item }}" height="500" width="90%"></iframe>
|
||||
<iframe src="../{{ item }}" height="450" width="90%"></iframe>
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
Loading…
Reference in New Issue
Block a user