Skip to content

Commit 61f5c31

Browse files
authored
Merge pull request #16 from ant-media/supportMp3VoD
add mp3 to supported formats
2 parents 3473179 + 74893f6 commit 61f5c31

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/web_player.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,10 @@ export class WebPlayer {
609609
}
610610
else if (extension == "webrtc") {
611611
type = "video/webrtc";
612-
}
612+
}
613+
else if (extension == "mp3") {
614+
type = "audio/mpeg";
615+
}
613616
else {
614617
Logger.warn("Unknown extension: " + extension);
615618
return;

0 commit comments

Comments
 (0)