1
I know that using the youtube API I can check when a video ends. But what about a stream? The code is the same?
This is an example of the code I use
<iframe width="100%" style="height: 200px !important;" src="https://www.youtube.com/embed/live_stream?channel=CHANNEL_ID&modestbranding=1&autoplay=1&controls=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
Maybe this document can help: https://developers.google.com/youtube/iframe_api_reference#Retrieving_video_information
– Sam
@dvd I will explore this option!
– I_like_trains