videojs-player icon indicating copy to clipboard operation
videojs-player copied to clipboard

RTMP can not play

Open hugselina2019 opened this issue 5 years ago • 1 comments

err message video.cjs.js?3d33:440 VIDEOJS: ERROR: The "flash" tech is undefined. Skipped browser support check for that tech.

already npm this "vue-video-player": "^5.0.2", "videojs-flash": "^2.2.1",

and this is my video option

playerOptions: { // videojs options playbackRates: [0.7, 1.0, 1.5, 2.0], // 播放速度 autoplay: false, // 如果true,浏览器准备好时开始回放。 muted: false, // 默认情况下将会消除任何音频。 loop: false, // 导致视频一结束就重新开始。 preload: 'auto', // 建议浏览器在

I thought it might be a video-flash problem

thanks

hugselina2019 avatar Nov 12 '19 09:11 hugselina2019

#221可能相关,另外,我播放rtmp用的是 techOrder: ['html5', 'flash']

package.json里不需要"videojs-flash": "^2.2.1", 因为vue-video-player会require videojs-flash的,你可以看package-lock.json

sagittaria avatar Nov 18 '19 09:11 sagittaria