Add example specifying the type for Android file expansion
This commit is contained in:
parent
98639d7c84
commit
e4f83439f4
@ -566,7 +566,7 @@ Within your render function, assuming you have a file called
|
|||||||
"background.mp4" in your expansion file. Just add your main and (if applicable) patch version
|
"background.mp4" in your expansion file. Just add your main and (if applicable) patch version
|
||||||
```
|
```
|
||||||
<Video
|
<Video
|
||||||
source={{uri: "background", mainVer: 1, patchVer: 0}}
|
source={{uri: "background", type: "mp4", mainVer: 1, patchVer: 0}}
|
||||||
/>
|
/>
|
||||||
```
|
```
|
||||||
This will look for an .mp4 file (background.mp4) in the given expansion version.
|
This will look for an .mp4 file (background.mp4) in the given expansion version.
|
||||||
|
Loading…
Reference in New Issue
Block a user