I'm aiming to make a guitar hero like game that is similar to guitarflash.com in JavaScript/HTML. On GuitarFlash, the song is loaded via an embeded YouTube video and I believe the song is loaded in its entirety before playing the song. How would I go about preloading a youtube video like this and ensuring that it doesn't have to buffer.
I tried finding documentation on embedding YouTube videos, but I only found this page, which doesn't have all that much information: https://support.google.com/youtube/answer/171780?hl=en#zippy=