HTML5 methods and properties audio and video element

Properties:

  • paused (get)
  • ended (get)
  • seeking (get)
  • duration (get)
  • playbackRate
  • defaultPlaybackRate
  • seekable
  • played
  • muted (get/set)
  • volume (get/set)
  • currentTime (get/set)
  • src (get/set)

Methods:

  • play()
  • pause()
  • load()

Events

  • loadeddata
  • progress
  • timeupdate
  • seeked
  • canplay
  • play
  • playing
  • pause
  • loadedmetadata
  • ended
  • volumechange
blog comments powered by Disqus