🎨Audio playback excludes "audio/mpegurl"

This commit is contained in:
Aicirou 2020-07-10 00:39:09 +08:00
parent 40a141aaaf
commit e44c23b059

View File

@ -279,7 +279,11 @@ export default {
}); });
return; return;
} }
if (file.mimeType.startsWith("audio/") && target === "view") { if (
file.mimeType.startsWith("audio/") &&
file.mimeType !== "audio/mpegurl" &&
target === "view"
) {
if (window.aplayer) { if (window.aplayer) {
this.add({ this.add({
audio: { audio: {