chore(player.js): add small console.debug message on error
All checks were successful
Invidious CI / build (push) Successful in 5m11s
All checks were successful
Invidious CI / build (push) Successful in 5m11s
This commit is contained in:
parent
aff5fbb1aa
commit
089c63a70b
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ videojs.Vhs.MAX_GOAL_BUFFER_LENGTH = 80;
|
||||||
var player = videojs('player', options);
|
var player = videojs('player', options);
|
||||||
|
|
||||||
player.on('error', function () {
|
player.on('error', function () {
|
||||||
|
console.debug(`[VideoJS Debug] Playback cannot continue, error: ${player.error().code}`)
|
||||||
if (video_data.params.quality === 'dash') return;
|
if (video_data.params.quality === 'dash') return;
|
||||||
|
|
||||||
var localNotDisabled = (
|
var localNotDisabled = (
|
||||||
|
|
Loading…
Add table
Reference in a new issue