title: How to convert video file from ios to base64 in ionic 3
body: <p>I am trying to convert a video url which we can retrieve from an iOS device and convert it to BASE64 in ionic 3, but I am unable to achieve BASE64 url.</p>
  
  <p>iOS Video URL: filePath = <code>/var/mobile/Containers/Data/Application/3436A7EB-4684-4618-8125-3E6AE1645FCE/Documents/MUS_RA/1534429730643_capturedvideo.MOV</code> </p>
  
  <p>I tried the following code to convert the video URL to BASE64 by using the BASE64 cordova plugin but no luck</p>
  
  <pre><code>this.base64.encodeFile(filePath)
              .then((base64String: string) =&gt; {
                   console.log("base64VideoChange");
                  resolve(base64String);
               }, (err) =&gt; {
                   console.log("base64VideoNOTChange");
                   reject(err);
               });
  </code></pre>
  
  <p>Note: I am using ionic 3. Please help.</p>