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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -