videojs / http-streaming

HLS, DASH, and future HTTP streaming protocols library for video.js
https://videojs-http-streaming.netlify.app/
Other
2.53k stars 425 forks source link

Using videojs-http-streaming with vuejs: Cannot set property HlsHandler #1272

Open bugminister opened 2 years ago

bugminister commented 2 years ago

i"m getting the following error Uncaught TypeError: Cannot set property HlsHandler of function videojs(id, options, ready) { var player = videojs.getPlayer(id);

if (player) { if (options) ...... } which has only a getter at eval (videojs-http-streaming.js?0677:21470:1) at eval (videojs-http-streaming.js?0677:6:1) at Object.eval (videojs-http-streaming.js?0677:6:1) at eval (videojs-http-streaming.js:5344:30) at Object../src/assets/utils/videojs-http-streaming.js (app.js:4385:1) at webpack_require (app.js:849:30) at fn (app.js:151:20) at eval (VideoPlayer.vue?fb53:24:1) at Object../node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/pages/videos/VideoPlayer.vue?vue&type=script&lang=js& (app.js:1537:1) at webpack_require (app.js:849:30)

welcome[bot] commented 2 years ago

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.