Webview page plays local video

the requirement is that the backend gives a simple video playback page to play the video resources included in the webview page.
I would like to ask the gods whether there is any way to make the local video resources also play in the web pages displayed on the webview page. Do you have any good suggestions or solutions to play in the corresponding locations of the web video resources?

just like Qzone or the uc video page, is there any way to change the web resources into local ones?


if you are in a browser, it is not supported to play local resources directly. Flexible method

  1. use a localhost local http server to access files
  2. or play local files in a way similar to upload preview. Refer to the example http://jsfiddle.net/dsbonev/c..
Menu