Issue 1: This drove me crazy. I would start streaming and it would run for several hour/days and then stop. The problem was that the “embed code” (iframe statement) had changed from what I originally had posted to a new iframe statement. By pasting the new “iframe” statement into my webpage I could once again get the stream to stream. Frustrating!!!
Here is a permanent solution to this “iframe” issue. I have made the following change to my webpage but it will take some time before I know if it works. The following procedure was gotten from the internet.
You can determine your [ChannelID] by going to https://www.youtube.com/account_advanced and copying the string after “YouTube Channel ID“.
The embed code would then be:
<iframe width=”815″ height=”458″ src=”https://www.youtube.com/embed/live_stream?channel=YOUR_CHANNEL_ID_HERE” frameborder=”0″ allow=”autoplay; encrypted-media” allowfullscreen></iframe>
You must have Live Stream Embeds enabled at www.youtube.com/features for the embedded live stream to play on your website.