From ad05ee89870c07c7cef88551daee14110d145ae9 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Fri, 18 Apr 2014 23:34:08 -0400 Subject: [PATCH] Fixed audio in Firefox Fix #234 --- app/js/services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/services.js b/app/js/services.js index 4c470419..03dd3307 100644 --- a/app/js/services.js +++ b/app/js/services.js @@ -2495,7 +2495,7 @@ angular.module('myApp.services', []) $rootScope.$broadcast('history_update'); } - var downloadPromise = MtpApiFileManager.downloadFile(audio.dc_id, inputFileLocation, audio.size, null, {mime: 'audio/mpeg'}); + var downloadPromise = MtpApiFileManager.downloadFile(audio.dc_id, inputFileLocation, audio.size, null, {mime: 'audio/ogg'}); downloadPromise.then(function (url) { delete historyAudio.progress;