onloadstart event
Examples
Executed when the video starts to load JavaScript:
<Video onloadstart = "myFunction ()">
try it"
Bottom of this article contains more examples.
Definition and Usage
onloadstart event in the browser to start looking specified video / audio (audio / video) trigger.
Video / audio (audio / video) during the loading process, the order is triggered as follows:
Browser Support
Figures in the table represent the first browser to support this version of events.
event | |||||
---|---|---|---|---|---|
onloadstart | Yes | 9.0 | Yes | Yes | Yes |
grammar
In HTML:
<Elementonloadstart = "myScript"> try
In JavaScript:
object .onloadstart = function () {myScript }; try
JavaScript, use the addEventListener () method:
object .addEventListener ( "loadstart", myScript ); try
Note: Internet Explorer 8 and earlier versions of IE do not support addEventListener () method.
technical details
Whether to support the bubble: | No |
---|---|
It can be canceled: | No |
Event Type: | Event |
Supported HTML tags: | <Audio>, <video> |
More examples
Examples
Executed when the audio starts loading JavaScript:
<Audio onloadstart = "myFunction ()">
try it"
Event objects