mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-07-09 07:18:24 +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);
|
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…
Reference in New Issue
Block a user