Implemented official yt iframe embed player support.

This commit is contained in:
rainbow napkin 2025-05-10 12:23:33 -04:00
parent 1b0caa5e02
commit 473b54356e
3 changed files with 181 additions and 21 deletions

View file

@ -149,6 +149,12 @@ class player{
}
updateCurrentRawFile(data){
//typecheck the media handler to see if we really need to do any of this shit, if not...
if(this.mediaHandler.type == 'ytEmbed'){
//Ignore it
return;
}
//Grab current item from media handler
const currentItem = this.mediaHandler.nowPlaying;