Open snowdream opened 4 years ago
Not 100% if it relates to this issue, but since it's called 'Support Vue 3' I think it's somehow connected.
Since I upgraded my project to use Vue 3, video.js is no longer working properly when using an HLS stream. I don't get any error messages, warnings or so, the video just starts playing for like 3 seconds and then just stops in an endless loading loop – again with no (error) messages.
You can find the code here to reproduce it here: https://github.com/Roxas92/vue3-videojs-hls
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
In Vue 3, captioning methods and player functions do not work with VideoJS yet.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
stale
It's 2022 now, when I try to use video.js in vue3 to play an HLS source, it is still endless loading, with no error or warning.
To get HLS streams working with videojs in Vue3 you need to install videojs with the http-streaming package: npm i @videojs/http-streaming
Follow the setup instructions on the videojs site for Vue.
however, I think it’s still written for Vue2 because it uses the data() property… I’m still trying to make videojs work with script setup. Any help here would be greatly appreciated!!
http-streaming is available by default with Video.js 7, you shouldn't need to install it separately.
I have same issue in with nuxt 3 and video.js 8.9.0
Anyone managed to make video.js 7 work with vue 3?
I'm using video.js 8 with vue 3. Where you at with implementing it?
I'm using video.js 8 with vue 3. Where you at with implementing it?
Is it working for you? I'm restricted to video.js 7. Not finding any solution yet. Mught need to use a different library.
Description
Can you support Vue 3?
I can not use video.js with Vue 3.0.
https://github.com/videojs/video.js/issues/6886