Javascript DOM onstalled Event

Introduction

Execute a JavaScript when the browser is trying to get media data, but data is not available:

In JavaScript:

object.onstalled = function(){
       myScript};

In JavaScript, using the addEventListener() method:

object.addEventListener("stalled",
       myScript);
Bubbles: No
Cancelable: No
Event type: Event
Supported HTML tags: <audio> and <video>



PreviousNext

Related