Prefer MP4 over WebM because IE can't play webm apparently

This commit is contained in:
calzoneman 2015-03-06 00:23:06 -06:00
parent 950853ba71
commit e6bdbb99b1

View file

@ -15,10 +15,10 @@ var ffmpeg = require("./ffmpeg");
* Prefer WebM over MP4, ignore other codecs (e.g. FLV)
*/
const GOOGLE_PREFERENCE = {
"hd1080": [46, 37],
"hd720": [45, 22],
"large": [44, 59],
"medium": [43, 18, 34] // 34 is 360p FLV as a last-ditch
"hd1080": [37, 46],
"hd720": [22, 45],
"large": [59, 44],
"medium": [18, 43, 34] // 34 is 360p FLV as a last-ditch
};
const CONTENT_TYPES = {