added autoplay
This commit is contained in:
parent
2106ea29b7
commit
241efc8d5f
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
<template>
|
||||
<div>
|
||||
<video class="player" ref="video" :poster="thumbnail" :title="title" playsinline controls crossorigin="anonymous"
|
||||
preload="auto">
|
||||
preload="auto" autoplay>
|
||||
<source v-for="source in sources" :key="source.src" :src="source.src" @error="source.onerror"
|
||||
:type="source.type" />
|
||||
<track v-for="(track, i) in tracks" :key="track.file" :kind="track.kind" :label="track.label" :srclang="track.lang"
|
||||
|
|
|
|||
Loading…
Reference in a new issue