Closed pinglikethinking closed 6 years ago
I have solved this.
just delete original video-js.swf
and
import a new video-js.swf ,put it into static , and use it by
Object.assign({ flash: {hls: { withCredentials: false }, swf: '/static/video-js.swf'}}, this.options)
source style is this,when play hls
videojs.options.sources=[{
withCredentials: false,
src: links,
type: 'application/x-mpegURL'
}]
hello , I encountered same question. where to put the object.assign() code?Thanks very much!
i am also getting this error, but only on windows 7 ie 11
If anyone is still encountering this issue, would someone be able to create a reduced test case using our starter template on JSBin? Thank you.
Closing. If anyone is still having issues with the latest release of videojs-contrib-hls, please let us know (and provide a reduced test case if possible). Thank you.
how to resolve this?
"video.js": "^6.2.8", "videojs-contrib-hls": "^5.12.0", "videojs-flash": "^2.0.1",