Commit cfc7da2a authored by Hampton Maxwell's avatar Hampton Maxwell
Browse files

Add docs for posterResizeMode flag

parent b4d1ee78
Loading
Loading
Loading
Loading
+1 −0
Changes for README.md: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -182,6 +182,7 @@ using System.Collections.Generic;

<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
       posterResizeMode="contain"              // Poster resize mode. One of contain (default), cover, stretch, center, repeat
       ref={(ref) => {
         this.player = ref
       }}                                      // Store reference