Injects Invidious embed player instead of YouTube's native one (resistant to SPA reloads and overwrites)
Replaces the native YouTube video player with an embedded Invidious player from inv.nadeko.net. This allows you to watch videos with reduced playback restrictions and bloat all within the YouTube interface you are used to.
Note, the player is hardcoded to a height of 800px as a quick fix, I hope to add a more robust flex styling solution in the future. Just change the value on line 58 if this height doesn't work for you.