Skip to content

Commit

Permalink
Merge pull request #16 from ant-media/supportMp3VoD
Browse files Browse the repository at this point in the history
add mp3 to supported formats
  • Loading branch information
mekya authored Sep 30, 2024
2 parents 3473179 + 74893f6 commit 61f5c31
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/web_player.js
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,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;
Expand Down

0 comments on commit 61f5c31

Please sign in to comment.