/

HTML / CSS / JavaScript Tutorial

JavaScript media object method: load()

[this page | pdf | back links]

The load() method of the JavaScript DOM object corresponding to HTML media elements (i.e. <audio> and <video> elements) loads / re-loads the media.

 

It has the following syntax with no parameters.

 

object.load()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile