报错:The media could not be loaded, either because the server or network failed or ...

问题:引入video有关的所有插件进行播放视频都显示
The media could not be loaded, either because the server or network failed or because the format is not supported

解决:

方法1:目前很多插件都不支持.avi等等一些比较不常见的视频格式,进行视频转码之后再引入播放。

方法2:如果在确定格式支持的情况下,就要检查是否路径写错
尤其要注意  !!!引入本地视频资源时需要require引入!!!
也就是说在src:后面不可以直接写'../../***路径',需要写src:require('')进行引入。

猜你喜欢

转载自blog.csdn.net/weixin_45898996/article/details/128233182