update docs

This commit is contained in:
Harvey Zack committed 2022-11-17 16:00:42 +08:00
1 parent 678e409a3f
commit 2fb895349f
50 files changed
+153 -151

No files matched your search

@@ -18,6 +18,7 @@ For more information, please read [Mozilla Video Events](https://developer.mozil
| `video:durationchange` | The duration attribute has been updated. |
| `video:emptied` | The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it. |
| `video:ended` | Playback has stopped because the end of the media was reached. |
| `video:error` | An error occurred while fetching the media data, or the type of the resource is not a supported media format. |
| `video:loadeddata` | The first frame of the media has finished loading. |
| `video:loadedmetadata` | The metadata has been loaded. |
| `video:pause` | Playback has been paused. |
@@ -18,6 +18,7 @@ slug: /zh-cn/events
| `video:durationchange` | The duration attribute has been updated. |
| `video:emptied` | The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it. |
| `video:ended` | Playback has stopped because the end of the media was reached. |
| `video:error` | An error occurred while fetching the media data, or the type of the resource is not a supported media format. |
| `video:loadeddata` | The first frame of the media has finished loading. |
| `video:loadedmetadata` | The metadata has been loaded. |
| `video:pause` | Playback has been paused. |