chore(player.js): add small console.debug message on error
All checks were successful
Invidious CI / build (push) Successful in 5m11s

This commit is contained in:
Fijxu 2025-02-18 02:32:14 -03:00
parent aff5fbb1aa
commit 089c63a70b
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -58,6 +58,7 @@ videojs.Vhs.MAX_GOAL_BUFFER_LENGTH = 80;
var player = videojs('player', options);
player.on('error', function () {
console.debug(`[VideoJS Debug] Playback cannot continue, error: ${player.error().code}`)
if (video_data.params.quality === 'dash') return;
var localNotDisabled = (