Thursday, February 13, 2014
YouTube has the ability to create live events now where you can stream your encoded video out to an audience. The URL for these events looks just like a regular YouTube URL, with the 11 character video ID at the end. One of the projects I've been working on called for the ability to recognize when a channel is showing a live stream. The Ustream platform is pretty good at this, especially in terms of embedding. When you use the Ustream embed code from their platform, if you are live it will embed the live stream, when you aren't live you can show a playlist of videos within your account. Paid accounts give the ability to upload non-Ustream recorded videos but you can only have one playlist. I felt if I could just find a way to determine when a YouTube account goes live, then I could embed any playlists I want. Turns out, there is a way.