@@ -52,7 +52,7 @@ export default defineComponent({
// 资源类型
const mediaType = computed((): "audio" | "video" => {
const subfix = (scoreData.value.videoFilePath || "").split(".").pop();
- if (subfix === "wav" || subfix === "mp3") {
+ if (subfix === "wav" || subfix === "mp3" || subfix === "m4a") {
return "audio";
}
return "video";