<!DOCTYPE html><html><head><title>Wikitechy HTML onstalled Attribute</title></head><body><h1>Wikitechy HTML onstalled Attribute</h1><videowidth="300"height="300"controlsonstalled ="onStalled()"><sourcesrc="Hibiscus.mp4"type="video/mp4"></video><script>functiononStalled()
{
alert ("The video is not available in Wikitechy");
}
</script></body></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.