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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -