diff --git a/src/components/Player.vue b/src/components/Player.vue index 67d1312..111153b 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -60,7 +60,7 @@ export default { autoSuspend: false, html5: true, preload: true, - src: [url], + src: Array.isArray(url) ? url : [url], }) const t = this for(const eventName of ['pause', 'play', 'end']) {