Closed Zzzen closed 8 years ago
Unfortunately, that is a limitation of flash and not videojs. It won't really load properly when loaded in over the file:
protocol. We strongly recommend to use local web servers when working with anything dealing with flash, and even when working with websites locally as well.
Do you know any workaround? I want to videojs and electron to make a player.
Why not run a local webserver and load it over that?
Interesting. I'll try it.
It has a severe problem that seeking is not available until whole file is "downloaded". I'm using a server mentioned in http://stackoverflow.com/questions/4360060/video-streaming-with-html-5-via-node-js#answer-28972079
If seeking isn't available until the whole file has loaded that means that the file metadata is at the end of the file and there isn't much you can do about it other than re-transcode (in which case, I would suggest using an mp4 or webm or something that electron/chrome supports natively).
Description
Videojs doesn't work if I open a local html.
Steps to reproduce
Results
Expected
It should play when I click the giant play button.
Actual
Nothing happens, there is even no error output on console.
Error output
No output
Additional Information
video-js.swf
was loaded successfulyversions
videojs
5.8
browsers
Chrome, firefox, edge
OSes
windows10 64.
plugins
No plugins.