Event | Description |
---|---|
aboart | The event get into action If media playing is restarted from the beginning. |
play | The event get into action if play back media start after pause event. |
pause | The event get into action when media paused. |
playing | the event get into action when media starts playing, |
loadstart | The event get into action when media load started. |
loadeddata | The event get into action when the first frame of the media finished loading. |
seeked | The event get into action when the seek operation of media completed. |
seeking | The event get into action when seek operation started. |
ratechange. | The event get into action when the playback speed changes. |
volumechange | The event get into action when the volume has been changed. |
suspend | The event get into action when media loading is suspended. |
waiting | The event get into action when requested for operation. |
Attribute | Description |
---|---|
autoplay | By using the auto play attribute, the audio file will play automatically after the data has been loaded. |
autobuffer | By using the autobuffer attribute, audio starts buffering automatically. |
controals | By using the control attribute user can control the audio files. |
preload | By using the preload attribute the page and audio file get loaded. |
src | The src attribute defines the url of the audio file. |
Attribute | Description |
---|---|
autoplay | By using the autoplay attribute the video get played automatically. |
autobuffer | By using the autobuffer attribute the video get buffered automatically. |
controals | By using the control attribute video get controlled by providing options like playback, pause/resume, seeking, volume, etc. |
height | Height attribute is used to adjust height of the video in pixels. |
loop | By using loop the video automatically seek from the starting after ending. |
src | src attribute is the video url which can embedded into the web page. |
width | width attribute is used to adjust the width of the video in pixels. |