vue-plyr icon indicating copy to clipboard operation
vue-plyr copied to clipboard

v-model:src

Open funtionalcode opened this issue 2 years ago • 5 comments

hi all,

In vue3 <video ><source :src="myVideo"/></video> ,:src does not take effect, only the src effect of the first load

funtionalcode avatar Oct 08 '21 19:10 funtionalcode

Any updates on this?, I'm having the same issue

tomatopickle avatar Jan 09 '22 09:01 tomatopickle

+1

vin-ni avatar Jan 20 '22 15:01 vin-ni

try this <vue-plyr v-if="audioSrc" ref="plyr" :options="options" > <audio controls playsinline ref="audio"> <source :src=audioSrc type="audio/mp3" /> </audio> </vue-plyr> this.$nextTick(()=>{ this.$refs.audio.src = this.audioSrc; }

ak3489 avatar Apr 14 '22 07:04 ak3489

try this <vue-plyr v-if="audioSrc" ref="plyr" :options="options" > <audio controls playsinline ref="audio"> <source :src=audioSrc type="audio/mp3" /> </audio> </vue-plyr> this.$nextTick(()=>{ this.$refs.audio.src = this.audioSrc; } Tks, I'm new with vue (only using 7 days) where the nextTick should be placed?

carlosapenasdev avatar Apr 15 '22 04:04 carlosapenasdev

after you change audioSrc

ak3489 avatar Apr 26 '22 03:04 ak3489