Skip to content

Commit aa2065c

Browse files
committed
Update README.md
1 parent 631c28e commit aa2065c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,14 @@ The player's functionality is designed around a dual interaction model:
9595
| `subtitles(String?)` | Command to set subtitles to a specified language or turn them off. Pass a language code (e.g., "en" for English) to set subtitles, or `nil` to turn them off. |
9696

9797
## Player Events
98+
9899
| Event | Description |
99100
|------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|
100101
| `idle` | Represents a state where the player is idle, meaning it is not currently performing any action. |
101102
| `seek(Bool, currentTime: Double)` | Represents an end seek action within the player. The first parameter (`Bool`) indicates whether the seek was successful, and the second parameter (`currentTime`) provides the time (in seconds) to which the player is seeking. |
103+
| `paused` | Indicates that the player's playback is currently paused. This state occurs when the player has been manually paused by the user or programmatically through a method like `pause()`. The player is not playing any content while in this state. |
104+
| `waitingToPlayAtSpecifiedRate` | Indicates that the player is currently waiting to play at the specified rate. This state generally occurs when the player is buffering or waiting for sufficient data to continue playback. It can also occur if the playback rate is temporarily reduced to zero due to external factors, such as network conditions or system resource limitations. |
105+
| `playing` | Indicates that the player is actively playing content. This state occurs when the player is currently playing video or audio content at the specified playback rate. This is the active state where media is being rendered to the user. |
102106

103107

104108
### Additional Notes on Adding and Removing Vector Graphics

0 commit comments

Comments
 (0)