Commit e26a4d27 authored by Brent Vatne's avatar Brent Vatne
Browse files

Remove unnecessary {} around source

parent e285ca9a
Loading
Loading
Loading
Loading
+4 −4
Changes for README.md: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -27,13 +27,13 @@ A <Video> component for react-native, as seen in
// Within your render function, assuming you have a file called
// "background.mp4" in your project. You can include multiple videos
// on a single screen if you like.
<Video source={"background"}    // Can be a URL or a local file
<Video source="background"      // Can be a URL or a local file.
       rate={1.0}               // 0 is paused, 1 is normal.
       volume={1}               // 0 is muted, 1 is normal.
       volume={1.0}             // 0 is muted, 1 is normal.
       muted={false}            // Mutes the audio entirely.
       paused={false}           // Pauses playback entirely.
       resizeMode="cover"       // Fill the whole screen at aspect ratio
       repeat={true}            // Repeat forever
       resizeMode="cover"       // Fill the whole screen at aspect ratio.
       repeat={true}            // Repeat forever.
       style={styles.backgroundVideo} />

// Later on in your styles..