From 74893f6a0e9f805db7dd945968cd382178e8f493 Mon Sep 17 00:00:00 2001 From: burak-58 Date: Fri, 30 Aug 2024 08:30:10 +0300 Subject: [PATCH] add mp3 to supported formats --- src/web_player.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/web_player.js b/src/web_player.js index 4ffb436..1a5adf7 100644 --- a/src/web_player.js +++ b/src/web_player.js @@ -602,7 +602,10 @@ export class WebPlayer { } else if (extension == "webrtc") { type = "video/webrtc"; - } + } + else if (extension == "mp3") { + type = "audio/mpeg"; + } else { Logger.warn("Unknown extension: " + extension); return;