From b2c8efc4ce7eb2267f9525d653d17ae9eaa2d937 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 23 Mar 2015 23:07:13 +0100 Subject: [PATCH] unload videojs --- telemeta/templates/telemeta/mediaitem_detail.html | 9 +++++---- telemeta/views/item.py | 1 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/telemeta/templates/telemeta/mediaitem_detail.html b/telemeta/templates/telemeta/mediaitem_detail.html index 7dab0e42..03af98e6 100644 --- a/telemeta/templates/telemeta/mediaitem_detail.html +++ b/telemeta/templates/telemeta/mediaitem_detail.html @@ -163,12 +163,12 @@ {% if "video" in mime_type %}
- +
+ + {% endif %} diff --git a/telemeta/views/item.py b/telemeta/views/item.py index f2196bc9..bc3c9cc1 100644 --- a/telemeta/views/item.py +++ b/telemeta/views/item.py @@ -256,7 +256,6 @@ class ItemView(ItemBaseMixin): #FIXME: MP4 handling in TimeSide if 'mp4' in extension: mime_type = 'video/mp4' - print 'ok' video = item.file.path response = StreamingHttpResponse(stream_from_file(video), mimetype = mime_type) response['Content-Disposition'] = 'attachment' -- 2.39.5