javascript - Check if YouTube video is live or uploaded -


i have youtube live event. able play video using youtube iframe player api. want know if there way can find if video live event video or regular uploaded video. need information designing controls.

the way can (currently) youtube backend api. data video based on id , in response have property snippet.livebroadcastcontent either live, none, or upcoming.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -