diff --git a/src/websrv.js b/src/websrv.js index fe6b4ba..ee85fac 100644 --- a/src/websrv.js +++ b/src/websrv.js @@ -77,7 +77,8 @@ function Websrv(tlib) { '.mp3': 'audio/mpeg', '.mp4': 'video/mp4', '.webm': 'video/webm', - '.ogg': 'audio/ogg' + '.ogg': 'audio/ogg', + '.mov': 'video/quicktime' }; if(filePath == "./index.html") { // mainpage var tpl = swig.compile(templates.index); @@ -124,6 +125,7 @@ function Websrv(tlib) { break; case "video/webm": case "video/mp4": + case "video/quicktime": data.item = 'video'; break; case "audio/mpeg": @@ -182,6 +184,7 @@ function Websrv(tlib) { switch(contentType) { case "video/webm": case "video/mp4": + case "video/quicktime": case "audio/mpeg": case "audio/ogg": var start = 0;