<!DOCTYPE html><html><head><title>Wikitechy HTML onstalled Attribute</title></head><body><h1>Wikitechy HTML onstalled Attribute</h1><video width="300" height="300" controls onstalled ="onStalled()"><source src="Hibiscus.mp4" type="video/mp4"></video><script>
function onStalled()
{
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.