Select a local video file, which cannot be played with video.js, and solve the problem.

now there is a need to select a video file through input type= "file" and preview the video effect in the corresponding place
I use

clipboard.png

url:
clipboard.png

jqvideo.js:
clipboard.png
what is the reason for this? Kneel and ask the god for advice, how can video.js play local video files? Thank you.

Mar.12,2021

just insert the address directly. Notice that the url, you get http:// is preceded by a blob :

.

clipboard.png
API is not written to support local resource loading


does this plug-in support local file playback?


does calling the revokeObjectURL
URL.revokeObjectURL () method release an object URL. created by URL.createObjectURL ()? You need to call this method

when you have already used the object URL, and let the browser know that the URL no longer needs to point to the corresponding file.
Menu