title: how to set the thumbnail in react native
body: <p>i have use thumbnail that gives error </p>
  
  <pre><code>import React, { Component } from "react";
  import {StyleSheet, Text, View, Image,WebView} from 'react-native'
  import Thumbnail from 'react-native-thumbnail-video';
  
  
  export default class Screen3 extends  Component&lt;{}&gt;{
  
     constructor(props){
     super(props);
     }
  
  
  render() 
  {
    return (
    &lt;View style={styles.container}&gt;
       &lt;Thumbnail url="https://www.youtube.com/watch?v=lgj3D5-jJ74" /&gt;
    &lt;/View&gt;
  )
  }
  }
  </code></pre>
  
  <p>in my project i have set the video thumbnail but that gives this error and i also use iframe but that give me same error ,please give me solution</p>