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