LarchLiu / vue3-video-player

vue3 version of vue-core-video-player
https://larchliu.github.io/vue3-video-player/
98 stars 20 forks source link

downgradeCore is not a function after change hls video resolution #38

Open kotovi opened 1 year ago

kotovi commented 1 year ago

Hello! Randomly get error when change video resolution ( the error also occurs in your demo https://stackblitz.com/edit/vitejs-vite-rf6dum?file=src%2FApp.vue) {type: 'otherError', details: 'internalException', fatal: false, event: 'hlsError', error: TypeError: _this6.downgradeCore is not a function at Object. (https://vitejsviterf6d…, …} index.js:121 {type: 'otherError', details: 'internalException', fatal: false, event: 'hlsError', error: TypeError: _this6.downgradeCore is not a function at Object. (https://vitejsviterf6d…, …} index.js:121 {type: 'otherError', details: 'internalException', fatal: false, event: 'hlsError', error: TypeError: _this6.downgradeCore is not a function at Object. (https://vitejsviterf6d…, …} index.js:121 {type: 'otherError', details: 'internalException', fatal: false, event: 'hlsError', error: TypeError: _this6.downgradeCore is not a function at Object. (https://vitejsviterf6d…, …}

With what it can be ? With best regards

kotovi commented 1 year ago

Object details : "internalException" error : TypeError: e.downgradeCore is not a function at Object. (https://../js/chunk-vendors.b6737eeb.js:10:192097) at Object.o (https://../js/chunk-vendors.b6737eeb.js:18:170746) at Proxy.emit (https://../js/chunk-vendors.b6737eeb.js:18:198915) at Y.value (https://../js/chunk-vendors.b6737eeb.js:10:194842) at Proxy. (https://.../js/chunk-vendors.b6737eeb.js:10:254432) at o.emit (https://cdn.jsdelivr.net/npm/hls.js@latest:1:188403) at e.emit (https://cdn.jsdelivr.net/npm/hls.js@latest:1:365691) at e.trigger (https://cdn.jsdelivr.net/npm/hls.js@latest:1:365789) at e.trigger (https://cdn.jsdelivr.net/npm/hls.js@latest:1:365937) at e.trigger (https://cdn.jsdelivr.net/npm/hls.js@latest:1:365937) message : "e.downgradeCore is not a function" stack : "TypeError: e.downgradeCore is not a function\n at Object. (../js/chunk-vendors.b6737eeb.js:10:192097)\n at Object.o (../js/chunk-vendors.b6737eeb.js:18:170746)\n at Proxy.emit (../js/chunk-vendors.b6737eeb.js:18:198915)\n at Y.value (.../js/chunk-vendors.b6737eeb.js:10:194842)\n at Proxy. (.../js/chunk-vendors.b6737eeb.js:10:254432)\n at o.emit (https://cdn.jsdelivr.net/npm/hls.js@latest:1:188403)\n at e.emit (https://cdn.jsdelivr.net/npm/hls.js@latest:1:365691)\n at e.trigger (https://cdn.jsdelivr.net/npm/hls.js@latest:1:365789)\n at e.trigger (https://cdn.jsdelivr.net/npm/hls.js@latest:1:365937)\n at e.trigger (https://cdn.jsdelivr.net/npm/hls.js@latest:1:365937)" [[Proto