Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 059bf42

Browse files
Update README.md
1 parent 3f21358 commit 059bf42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Please note that using videos from URLs requires ensuring that you have the righ
124124

125125
| Name | Description | Default |
126126
|---------------|-----------------------------------------------------------------------------------------------------|---------|
127-
| **SourceName** | `**Direct URL String** If the name represents a valid URL ( HTTP etc). ` <br> `**Local File URL** If the name is a valid local file path (file:// scheme). ` <br> `**Bundle Resource** It tries to locate the file in the main bundle using Bundle.main.url(forResource:withExtension:)` | - |
127+
| **SourceName** | **Direct URL String** If the name represents a valid URL ( HTTP etc). **Local File URL** If the name is a valid local file path (file:// scheme). **Bundle Resource** It tries to locate the file in the main bundle using Bundle.main.url(forResource:withExtension:) | - |
128128
| **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" |
129129
| **Subtitles** | The URL or local filename of the WebVTT (.vtt) subtitles file to be merged with the video. With a AVMutableComposition approach that is used currently in the package, you cannot directly change the position or size of subtitles. AVFoundation’s built-in handling of "text" tracks simply renders them in a default style, without allowing additional layout options. Take a look on the implementation in the example app *Video8.swift* | - |
130130
| **Gravity** | How the video content should be resized to fit the player's bounds. | .resizeAspect |

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /