last changes in the templates

This commit is contained in:
Cristina Cochior 2020-01-12 01:55:01 +01:00
parent da57395390
commit 856f33e90d
2 changed files with 9 additions and 3 deletions

View File

@ -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 %}

View File

@ -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">