Add initial video player implementation with controls and error handling
This commit is contained in:
parent
5c2700f9fd
commit
3bd6603396
@ -64,6 +64,11 @@ try {
|
||||
throw e;
|
||||
}
|
||||
|
||||
// --- Test listener for loadedmetadata ---
|
||||
player.on('loadedmetadata', function() {
|
||||
console.log('[Invidious Debug] Event: loadedmetadata Fired!');
|
||||
});
|
||||
|
||||
player.on('error', function () {
|
||||
var error = player.error();
|
||||
console.error('[Invidious Debug] Player Error Event:', error ? error.message : 'Unknown error', 'Code:', error ? error.code : 'N/A', 'Type:', error ? error.type : 'N/A', error);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user