Implemented official yt iframe embed player support.
This commit is contained in:
parent
1b0caa5e02
commit
473b54356e
3 changed files with 181 additions and 21 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue