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 pausedand 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
Post a Comment