Pro Tip: There is a Firefox extension that forces YouTube to use H.264. Even though my machine does hardware accelerated VP9 I've found it to be unreliable. Switching to H.264 makes YouTube videos play smoothly. All other videos sites use H.264 by default so this only really needs to be done for YouTube.