load method

void load()

The HTMLMediaElement method load() resets the media element to its initial state and begins the process of selecting a media source and loading the media in preparation for playback to begin at the beginning.

The amount of media data that is prefetched is determined by the value of the element's preload attribute.

This method is generally only useful when you've made dynamic changes to the set of sources available for the media element, either by changing the element's src attribute or by adding or removing source elements nested within the media element itself. load() will reset the element and rescan the available sources, thereby causing the changes to take effect.

Implementation

external void load();