通过后台登录ftp获取到视频文件后,通过ServletOutputStream.flush(),返回到前端,h5 video标签能播放这个通过后台拿到的视频,uni-app 的原生 video 播放不了,而且以前旧版本2.7 开发时是可以播放的,现在2.8.8版本却不能播放了,是什么原因呢?
原生video返回错误:
{
"type": "error",
"detail": {},
"target": {
"id": "",
"dataset": {
"v-4c30927c": ""
},
"offsetLeft": 14,
"offsetTop": 14
},
"currentTarget": {
"id": "",
"dataset": {
"v-4c30927c": ""
},
"offsetLeft": 14,
"offsetTop": 14
},
"timeStamp": 0,
"mp": {
"@warning": "mp is deprecated",
"type": "error",
"detail": {},
"target": {
"id": "",
"dataset": {
"v-4c30927c": ""
},
"offsetLeft": 14,
"offsetTop": 14
},
"currentTarget": {
"id": "",
"dataset": {
"v-4c30927c": ""
},
"offsetLeft": 14,
"offsetTop": 14
},
"timeStamp": 0
},
"_processed": true
}
soso014
- 发布:2020-09-02 15:18
- 更新:2021-01-08 12:38
- 阅读:1371
1 个回复
DCloud_App_Array
Android还是iOS?vue还是nvue页面?
请提供无法播放的视频url地址,说明复现问题的设备信息。