Skip to content

Commit 03a9878

Browse files
author
Shahen Hovhannisyan
committed
Merge branch 'master' of github.com:shahen94/react-native-video-processing
2 parents f1eca46 + 88ce49b commit 03a9878

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ class App extends Component {
9898
play={true} // default false
9999
replay={true} // should player play video again if it's ended
100100
rotate={true} // use this prop to rotate video if it captured in landscape mode iOS only
101-
source={{ uri: 'file:///sdcard/DCIM/....' }}
101+
source={'file:///sdcard/DCIM/....'}
102102
playerWidth={300} // iOS only
103103
playerHeight={500} // iOS only
104104
style={{ backgroundColor: 'black' }}
105105
onChange={({ nativeEvent }) => console.log({ nativeEvent })} // get Current time on every second
106106
/>
107107
<Trimmer
108-
source={{ uri: 'file:///sdcard/DCIM/....' }}
108+
source={'file:///sdcard/DCIM/....'}
109109
height={100}
110110
width={300}
111111
currentTime={this.video.currentTime} // use this prop to set tracker position iOS only

0 commit comments

Comments
 (0)