Javascript – Audio, Video & WebCam API

HTML Audio and Video elements have methods, properties and events that can be changed/called from Javascript.

Properties

  • currentSrc
  • currentTime
  • videoWidth
  • videoHeight
  • error
  • muted
  • seeking
  • volume
  • height
  • width
  • controls

Read-only propertied

  • played
  • startTime
  • duration
  • ended
  • paused
  • seekable

Methods

  • play
  • pause
  • load
  • canPlayType

Events

  • play
  • pause
  • progress
  • error
  • timeupdate
  • ended
  • abort
  • empty
  • emptied
  • waiting
  • loadedmetadata
, <span>Javascript – Audio, Video & WebCam API</span>, KandZ
, <span>Javascript – Audio, Video & WebCam API</span>, KandZ
, <span>Javascript – Audio, Video & WebCam API</span>, KandZ
, <span>Javascript – Audio, Video & WebCam API</span>, KandZ

If you want to access the WebCam you need to use the getUserMedia API

, <span>Javascript – Audio, Video & WebCam API</span>, KandZ
, <span>Javascript – Audio, Video & WebCam API</span>, KandZ

104530cookie-checkJavascript – Audio, Video & WebCam APIJavascript – Audio, Video & WebCam API

Related posts