From 5de2461eb6fd18d918b739e81eba3d84fb0a9ab7 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 29 Dec 2011 01:34:12 +0530 Subject: [PATCH] serve video with video/webm --- pandoralocal/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandoralocal/server.py b/pandoralocal/server.py index ba11a14..26e436b 100644 --- a/pandoralocal/server.py +++ b/pandoralocal/server.py @@ -155,7 +155,7 @@ class Server(Resource): if path: print itemId, filename, 'use', path request.headers['Access-Control-Allow-Origin'] = '*' - f = File(path) + f = File(path, 'video/webm') f.isLeaf = True return f else: