Changeset bfc6b5f
- Timestamp:
- 04/02/12 12:27:28 (14 months ago)
- Branches:
- master, crem, crem2, dev, dev2, diadems, generic, instru_search, lam, nlivemulti, production, release/1.4.4, security, social, storage, test
- Children:
- 6c15164, 7566b3e, eb1356d, ef72a4d, 57305a5
- Parents:
- a29e589
- git-author:
- yomguy <yomguy@…> (04/02/12 12:27:28)
- git-committer:
- yomguy <yomguy@…> (04/02/12 12:27:28)
- File:
-
- 1 edited
-
telemeta/views/base.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
telemeta/views/base.py
ra29e589 rbfc6b5f 931 931 return render(request, 'telemeta/messages.html', {'description' : description}) 932 932 933 #FIXME: MP4 handling in TimeSide 934 if 'mp4' in extension: 935 mime_type = 'video/mp4' 936 video = item.file.path 937 response = HttpResponse(stream_from_file(video), mimetype = mime_type) 938 response['Content-Disposition'] = 'attachment' 939 return response 940 933 941 for encoder in self.encoders: 934 942 if encoder.file_extension() == extension:
Note: See TracChangeset
for help on using the changeset viewer.
