From e6bdbb99b1635ca3fcc8c5a24bb686123eecfdd0 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Fri, 6 Mar 2015 00:23:06 -0600 Subject: [PATCH] Prefer MP4 over WebM because IE can't play webm apparently --- lib/get-info.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/get-info.js b/lib/get-info.js index 9a53f359..b8454326 100644 --- a/lib/get-info.js +++ b/lib/get-info.js @@ -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 = {