Adds full support for YouTube playback.

While a few optimizations could be made, YouTube playback is almost as seamless as local playback.
This commit is contained in:
Markil3
2021-08-17 01:23:23 -06:00
parent ede9132279
commit 9c2cea1662
23 changed files with 388 additions and 261 deletions

View File

@@ -34,6 +34,16 @@ function handleMessage(message)
}
}
function onStatusUpdate(status, time, songData)
{
sendUpdate({
type: "edu.regis.universeplayer.PlaybackInfo",
currentSong: songData,
status: status,
playTime: time
});
}
function sendUpdate(response)
{
post = data => background.postMessage({