Open SevenOutman opened 6 years ago
Yes. Thank you very much for these awesome vue js plugin. I would like to know how to access event from any component because i want to be able to watch the audio and end it pro-grammatically at a certain time. Any clues?
@Shadomax Since v1.4.0
Vue-APlayer emits a full list of native Media Events that you can listen to. Among them you may want to use timeupdate
to get informed that the current time of soundtrack is updated, then get the current playing time via player.audio.currentTime
. Or you can simply watch player.playStat.playedTime
, whose value keeps updating with audio.currentTime
.
Btw this issue is a good place to share your project. You can leave your site link in comments.
okay thanks for your response but i want to know how to access it inside App.vue watch or computed.
@Shadomax You may refer to Vue docs on ref
to find out how you can access a child component instance.
https://www.salocinten.info/#/audiorium
A combination of AWS Lambda, AWS S3, and scripting to produce a streaming random track audio player.
Edit: Temporarily not using it for now.
请问有播放多个音乐的demo吗?
Multiple music demonstrations
Want to attach my song data from my backend to vue-aplayer in my vue project but don't know how to go about it. If you can be of help, i will be most grateful.
A fan-made wiki / database for EpicSeven mobile game. I'm using vue-aplayer on Hero detail page, example: https://epicsevendb.com/hero/baiken
I'm pondering into changing to playlist. Visually I prefer multiple but since so many instances at same time made page a bit sluggish, I need to rethink.
为什么这么难用啊,一早上都没搞好
我也想知道,为啥依赖都安装不上,说好的vue项目呢 npm run dev 运行不了 0.0
Thanks for loving it! Sharing your project and giving feedbacks are welcome. Leave links to your sites below :)
P.S. This issue is not for asking questions, open a new issue or join our Discord group for support