title: How to Create A Thumbnail Using Ionic Native
body: <p>I'm trying to create a thumbnail from from video on a remove server using the video editor plugin, but just cant get it to work.
  The thumbnail doesnt get created.
  Below is my code:</p>
  
  <pre><code>private createThumbnail(remoteFileUrl: string) {
      this.thumbnailOptions = {
          atTime: 60,
          height: 1024,
          width: 1024,
          quality: 100,
          fileUrl: remoteFileUrl, // looks something like this : http://example.com/filename.mp4
          outputFileName: remoteFileUrl.substring(videoFile.lastIndexOf('/') + 1)
      };
  
      this.videoEditor.createThumbnail(this.thumbnailOptions).then(
          thumbnail =&gt; { this.thumbnail = thumbnail; },
          error =&gt; { this.thumbnail = '' }
      );
  }
  </code></pre>
  
  <p>When i run this code i get the following error</p>
  
  <p>"java.io.FileNotFoundException: file:/<a href="http://example.com" rel="nofollow noreferrer">http://example.com</a> slash file name -> <a href="http://example.com" rel="nofollow noreferrer">http://example.com</a> slash file name</p>