I want to embed a gaming live stream on my website and play it using JavaScript.
Using the YouTube IFrame Player API, I can dynamically embed and control YouTube videos. YouTube Gaming has its own version of the player that links to gaming.youtube.com instead of www.youtube.com. But there's no mention of how to make the API use it.
I tried using https://gaming.youtube.com/iframe_api, but it doesn't exist.
How do I embed a YouTube Gaming video with the IFrame API?