javascript - How do you get the state of a youtube video on youtube.com? -


i'm trying make chrome extension needs state of youtube video player, , i'm aware of existence of api attempts use have been fruitless. can point me in right direction?

you'll want subscribe onstatechange event described here: https://developers.google.com/youtube/js_api_reference?csw=1#subscribingevents

the states of player described in documentation onstatechange event on same page.


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -