- The onstalled attribute specifies a script to run though the browser is trying to get media data, yet data is not available.
- The events that happens when there is some kind of disturbance to the media loading process, are:
- onerror
- onsuspend
- onabort
- onemptied
- The onstalled attribute is a section of the Event Attributes.
Syntax for onstalled attribute in HTML:
Difference between HTML 4.01 and HTML 5 for onstalled Attribute:
HTML 4.01
HTML 5
Applies To:
onstalled Attribute Values:
Value |
Description |
script |
The script to be run on onstalled. |
Sample Coding for onstalled Attribute in HTML:
Code Explanation for onstalled Attribute in HTML:
- <video> tag is used to display the video.
- onstalled attribute is used to call onStalled() JavaScript function when the browser unable to get the video.
- function onStalled() is a JavaScript function.
- alert() method used to display an alert box.
Browser Support for onstalled Attribute in HTML:
Related Searches to onstalled Attribute in html
onstalled Attribute
HTML onstalled Attribute
HTML Event Attributes
html attribute onstalled
OnStalled
Global attributes
html attributes
html tutorialshtml editor html code html form html tutorial html color html color codes html table html img html5 html code for website html and css html programs html website free html editor html5 tutorial wysiwyg html editor html tutorial pdf html converter php tutorial html example html tutorial css tutorial html css html tags html basics code html html online html mailto html lang html tags list