css - HTML5 element state using Javascript -



css - <audio> HTML5 element state using Javascript -

hi wondering if there javascrit method help getting info on state of sound tag:

is sound playing has stopped is muted is paused

and sort. know can utilize play(), pause() , others not quite sure on how check in script sound playing in order trigger event/action maybe ?

thanks.

yes can check number of attributes on html5 media elements, list of can find in w3c html5 specification itself.

under "playback state" list can see such attributes paused, muted, ended etc.

javascript css html5 javascript-events html5-audio

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -