title: Play local Video in webview
body: <p>I want to play local videos in crosswalk webview. I'm getting the video path from an intent opening my activity, so it could be stored internally or on sd card. </p>
  
  <p>Using this url <code>file:///storage/emulated/0/Download/movies/movie.mp4</code> i get <code>Failed to load resource: net::ERR_ACCESS_DENIED</code>.</p>
  
  <p>Using input file dialog with <code>URL.createObjectURL(file);</code> it works. But because i know the path, i dont want to select it again manually. Setting the value of input file is forbidden.</p>
  
  <p>Creating a url using the path is also not possible, because it needs file or blob.</p>
  
  <p>Because of possible big filesize its not possible to temporarily copy it to sd card.</p>
  
  <p>This gives me file not found error:</p>
  
  <pre><code>@Override
      public WebResourceResponse shouldInterceptLoadRequest(XWalkView view,
                                                            String url) {
          if(url.contains("file:///storage")){
              try {
                  return new WebResourceResponse("video/*", "UTF-8", new FileInputStream(url));
              } catch (FileNotFoundException e) {
                  e.printStackTrace();
              }
          }
              return super.shouldInterceptLoadRequest(view, url);
      }
  </code></pre>
  
  <p>also i have defined <code>&lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;</code></p>
  
  <p>other questions on stackoverflow asking for accessing assets, so i created this new question</p>