Loading README.md +2 −0 Changes for README.md: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -152,6 +152,7 @@ using System.Collections.Generic; // on a single screen if you like. <Video source={{uri: "background"}} // Can be a URL or a local file. poster="https://baconmockup.com/300/200/" // uri to an image to display until the video plays ref={(ref) => { this.player = ref }} // Store reference Loading Loading @@ -200,6 +201,7 @@ var styles = StyleSheet.create({ // 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 <Video source={{uri: "background", mainVer: 1, patchVer: 0}} // Looks for .mp4 file (background.mp4) in the given expansion version. poster="https://baconmockup.com/300/200/" // uri to an image to display until the video plays rate={1.0} // 0 is paused, 1 is normal. volume={1.0} // 0 is muted, 1 is normal. muted={false} // Mutes the audio entirely. Loading Loading
README.md +2 −0 Changes for README.md: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -152,6 +152,7 @@ using System.Collections.Generic; // on a single screen if you like. <Video source={{uri: "background"}} // Can be a URL or a local file. poster="https://baconmockup.com/300/200/" // uri to an image to display until the video plays ref={(ref) => { this.player = ref }} // Store reference Loading Loading @@ -200,6 +201,7 @@ var styles = StyleSheet.create({ // 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 <Video source={{uri: "background", mainVer: 1, patchVer: 0}} // Looks for .mp4 file (background.mp4) in the given expansion version. poster="https://baconmockup.com/300/200/" // uri to an image to display until the video plays rate={1.0} // 0 is paused, 1 is normal. volume={1.0} // 0 is muted, 1 is normal. muted={false} // Mutes the audio entirely. Loading