Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

视频在开发环境可以正常播放,生产环境提示 The media could not be loaded, #325

Open
xuxiaoxiao312 opened this issue Sep 20, 2019 · 4 comments

Comments

@xuxiaoxiao312
Copy link

xuxiaoxiao312 commented Sep 20, 2019

版本:

vue-video-player: 5.0.2
问题机型: Android 8.0 以上

描述:

线上部分安卓手机,系统版本在Android 8.0 以上的都会出现视频播放出错,提示
The media could not be loaded, either because the server or network failed or because the format is not supported.
在本地环境测试的时候是可以的,但是在线上就会报错无法播放。

视频格式是mp4
编码为:Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709/unknown/unknown), 1280x720 [SAR 1:1 DAR 16:9], 384 kb/s, 50 fps, 50 tbr, 1k tbn, 2k tbc (default)
格式已经很标准了,不知道为什么还会出现这种问题,出现的场景也让人摸不着头脑。
求解答。。。。

@wolf9236
Copy link

wolf9236 commented Mar 5, 2020

ios 13.3.1 也出现同样问题
The media could not be loaded, either because the server or network failed or because the format is not supported,用微信开发者工具是正常的,视频为mp4,安卓9环境下是正常播放,

@wolf9236
Copy link

wolf9236 commented Mar 6, 2020

ios 13.3.1 也出现同样问题
The media could not be loaded, either because the server or network failed or because the format is not supported,用微信开发者工具是正常的,视频为mp4,安卓9环境下是正常播放,

经过反复测验,不是控件的问题,是视频的问题,部分视频经过转码之后不支持ios播放,具体原因还在排查中

@Jeffreyxxi
Copy link

现在还有这个问题,除了通过服务器那边转成可以播放的编码给过来之外,有其他的解决办法吗?

@1jialong
Copy link

你好,请问解决了吗,我现在也遇到了这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants