added name for videos
This commit is contained in:
@@ -122,10 +122,13 @@
|
||||
{% if objs[current].type.name != "Image" %}
|
||||
<script>$('#figure').attr('style', 'display:none')</script>
|
||||
{% endif %}
|
||||
<div class="col col-auto">
|
||||
<video id="video" class="col col-auto" controls>
|
||||
<source src="http://mara.ddp.net:5000/{{objs[current].FullPathOnFS()}}" type="video/mp4">
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
<figcaption class="figure-caption text-center text-wrap text-break"><span id="fname">{{objs[current].name}}</span></figcaption>
|
||||
</div>
|
||||
<script>
|
||||
window.addEventListener('resize', ResizeVideo, false);
|
||||
ResizeVideo()
|
||||
|
||||
Reference in New Issue
Block a user