Javascript – Audio, Video & WebCam API

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 If you want to access the WebCam you need to use the getUserMedia API Javascript – Audio, Video & WebCam API

Javascript – Audio, Video & WebCam API Read More

HTML – Multimedia elements audio and video

HTML – Multimedia elements audio and video

HTML5 has two multimedia elements, audio and video. audio audio elements embeds sound or audio stream The text inside the audio element will appear on the screen if your browser does not support the audio element common attributes: src – is the absolute location/address of the resource for a file on the Web or the relative address for a file on your server. mp3, wav and ogg are supported from almost all the browsers controls – shows controls to the audio element loop – loops the media file muted –…

HTML – Multimedia elements audio and video Read More