videojs-player
videojs-player copied to clipboard
视频不能自动播放
playerOptions: { height: '460', autoplay: true, muted: false, language: 'zh-CN', playbackRates: [0.7, 1.0, 1.5, 2.0], sources: [{ type: "video/mp4", src: '' }], poster: require('./../../assets/ghimg/metaio.jpg') }
这样不能自动播放,请问下是什么原因啊
I have the same problem
I have the same problem
me too
手机端为了省流量,默认自动播放无效,所以你需要手动调用api去播放 如:player.play()
Player.play() video initializer is not available
i have the same problem,but it works well sometime ,maybe it owns to the browser ,
try to used native video label
muted: true, / / by default will eliminate any audio.To avoid random noise generated by the tag
muted: true, / / by default will eliminate any audio.To avoid random noise generated by the tag I see. Thank you.
调用player.play()也不能播放,得手动点击才能播放
playerOptions: { height: '200', autoplay: true, muted: true, sources: [{ type: 'video/x-flv', src: 'xxx.flv' }], language: 'zh-CN', techOrder: ['flash'], poster: "https://surmon-china.github.io/vue-quill-editor/static/images/surmon-6.jpg" }
设置了autoplay为什么不能自动播放
muted: true, / / by default will eliminate any audio.To avoid random noise generated by the tag
这个问题解决了吗
这个问题解决了吗
移动端自动播放不了
playerOptions: { height: '200', autoplay: true, muted: true, sources: [{ type: 'video/x-flv', src: 'xxx.flv' }], language: 'zh-CN', techOrder: ['flash'], poster: "https://surmon-china.github.io/vue-quill-editor/static/images/surmon-6.jpg" }
设置了autoplay为什么不能自动播放
需要在plaerOptions对象属性上面设置flash的swf属性 plaerOptions: { flash: { swf: '/video-js.swf' } }
oh it‘s really good thank you
playerOptions: { height: '200', autoplay: true, muted: true, sources: [{ type: 'video/x-flv', src: 'xxx.flv' }], language: 'zh-CN', techOrder: ['flash'], poster: "https://surmon-china.github.io/vue-quill-editor/static/images/surmon-6.jpg" } 设置了autoplay为什么不能自动播放
需要在plaerOptions对象属性上面设置flash的swf属性 plaerOptions: { flash: { swf: '/video-js.swf' } }
really good