forked from lesion/plaid
support playing Array of urls
This commit is contained in:
parent
7d632a240e
commit
5f93e6240c
1 changed files with 1 additions and 1 deletions
|
@ -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']) {
|
||||
|
|
Loading…
Reference in a new issue