November 2017
Beginner
294 pages
6h 55m
English
As a Video is only a two dimensional (2D) object, it takes a width and height. This is not, as you are probably used to, in pixels, but instead in world units for the reasons discussed earlier. If people move their point of view closer or further away from your 2D video, it will change resolution from a dots per inch standpoint. You may need to experiment with sizes and video compression/storage to find the ideal balance of quality, download speed, and resolution (graininess).
Video is best when used with the VideoControl (described earlier in this chapter).
This example showing a Video as well as a VideoController:
<Video style={{height: 3, width: 4}} source={{uri: 'assets/Video1.webm'}} playerState={this.state.playerState} /
Read now
Unlock full access