Skip to content

Commit c24d46a

Browse files
committed
Update README.md
1 parent caf98a6 commit c24d46a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,19 @@ Please note that using videos from URLs requires ensuring that you have the righ
2828

2929
| Name | Description | Default |
3030
| --- | --- | --- |
31-
| **SourceName** | The URL or local filename of the video. If a valid URL (http or https) is provided, the video will be streamed from the URL. If not a URL, the system will check if a video with the given name exists in the local bundle. The local name provided can either include an extension or be without one. The system first checks if the local name contains an extension. If the local name includes an extension, it extracts this extension and uses it as the default. If the local name does not contain an extension, the system assigns a default extension of .mp4 The default file extension can be set up via Ext param. | - |
31+
| **SourceName** | The URL or local filename of the video.| - |
3232
| **Ext** | File extension for the video, used when loading from local resources. This is optional when a URL is provided and the URL ends with the video file extension. | "mp4" |
3333
| **Gravity** | How the video content should be resized to fit the player's bounds. | .resizeAspect |
34-
| **TimePublishing** | Specifies the interval at which the player publishes the current playback time. If the parameter is passed during initialization, the player will publish the time according to the input settings. You can pass just `TimePublishing` without any value to use the default interval of 1 second, or you can pass a specific `CMTime` value to set a custom interval. | 1 second (CMTime with 1 second and preferred timescale of 600) |
34+
| **TimePublishing** | Specifies the interval at which the player publishes the current playback time. |
3535
| **EColor** | Error message text color. | .red |
3636
| **EFontSize** | Size of the error text. | 17.0 |
3737

38+
### Additional Notes on Settings
39+
40+
- **Time Publishing:** If the parameter is passed during initialization, the player will publish the time according to the input settings. You can pass just `TimePublishing` without any value to use the default interval of 1 second, or you can pass a specific `CMTime` value to set a custom interval. | 1 second (CMTime with 1 second and preferred timescale of 600) If no `TimePublishing` is provided, the player will not emit time events, which can improve performance when timing information is not needed.
41+
42+
- **SourceName:** If a valid URL (http or https) is provided, the video will be streamed from the URL. If not a URL, the system will check if a video with the given name exists in the local bundle. The local name provided can either include an extension or be without one. The system first checks if the local name contains an extension. If the local name includes an extension, it extracts this extension and uses it as the default. If the local name does not contain an extension, the system assigns a default extension of .mp4 The default file extension can be set up via Ext param.
43+
3844
## Commands
3945

4046
### Playback Commands

0 commit comments

Comments
 (0)