From 5f93e6240c4cd81074158be1fa835ca7cdca9dac Mon Sep 17 00:00:00 2001 From: boyska Date: Tue, 28 Mar 2023 19:44:43 +0200 Subject: [PATCH] support playing Array of urls --- src/components/Player.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) {