mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-07-08 23:08:25 +00:00
chore(player.js): add small console.debug message on error
This commit is contained in:
parent
aff5fbb1aa
commit
089c63a70b
@ -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 = (
|
||||
|
Loading…
Reference in New Issue
Block a user