Home > Article > Web Front-end > In HTML, execute script when getting media data stops and is not fully loaded?
Use the onsuspend attribute in HTML to run a script when loading of media data is paused (such as when a download is complete). It can happen in any of the following situations -
When a download is paused When a download completes Media is suspended, etc.
This attribute can be used with
The above is the detailed content of In HTML, execute script when getting media data stops and is not fully loaded?. For more information, please follow other related articles on the PHP Chinese website!