title: react-native-video TypeError: undefined is not an object
body: <p>So I tried using react-native-video package from npm to play a youtube video:</p>
  
  <pre><code>export default class App extends Component {
    render() {
      return (
        &lt;View style={styles.container}&gt;
          &lt;Video
            source={{uri: 'https://www.youtube.com/watch?v=swigQ10SL_w'}}
            style={{ width: 800, height: 800 }}
            muted={true}
            repeat={true}
            resizeMode={"cover"}
            volume={1.0}
            rate={1.0}
            ignoreSilentSwitch={"obey"}
          /&gt;
        &lt;/View&gt;
      );
    }
  }
  </code></pre>
  
  <p>I get an error:
  <a href="https://i.stack.imgur.com/ZpkNM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZpkNM.png" alt="enter image description here"></a></p>