FightingFive
FightingFive
  • 发布:2020-11-04 20:52
  • 更新:2025-01-22 15:26
  • 阅读:2796

video在andriod真机上抛出错误,无法播放

分类:uni-app

{
"type": "error",
"timeStamp": 0,
"target": {
"offsetTop": 0,
"dataset": {},
"offsetLeft": 0,
"id": ""
},
"currentTarget": {
"offsetTop": 0,
"dataset": {},
"offsetLeft": 0,
"id": ""
},
"detail": {},
"mp": {
"@warning": "mp is deprecated",
"type": "error",
"timeStamp": 0,
"target": {
"offsetTop": 0,
"dataset": {},
"offsetLeft": 0,
"id": ""
},
"currentTarget": {
"offsetTop": 0,
"dataset": {},
"offsetLeft": 0,
"id": ""
},
"detail": {}
},
"_processed": true
}

2020-11-04 20:52 负责人:无 分享
已邀请:
x***@foxmail.com

x***@foxmail.com

都23年了 这个问题依然存在 可以确定的是跟视频编码有关 但小程序却正常 这就很头大了

  • 鸡排饭加个蛋

    我是通过uni.downloadFile下载视频,video标签的src传入临时路径,进行播放,解决的

    2023-05-09 19:29

7***@qq.com

7***@qq.com

我也遇到这个问题了,解决了吗

  • FightingFive (作者)

    没有,找不到原因= =

    2020-11-13 09:51

哇塞呀

哇塞呀

怎么解决的,我的也是
{
"type": "error",
"detail": {},
"target": {
"id": "",
"dataset": {
"vB05990b6": ""
},
"offsetLeft": 0,
"offsetTop": 0
},
"currentTarget": {
"id": "",
"dataset": {
"vB05990b6": ""
},
"offsetLeft": 0,
"offsetTop": 0
},
"timeStamp": 0,
"mp": {
"@warning": "mp is deprecated",
"type": "error",
"detail": {},
"target": {
"id": "",
"dataset": {
"vB05990b6": ""
},
"offsetLeft": 0,
"offsetTop": 0
},
"currentTarget": {
"id": "",
"dataset": {
"vB05990b6": ""
},
"offsetLeft": 0,
"offsetTop": 0
},
"timeStamp": 0
},
"_processed": true
}

DCMarvel

DCMarvel

什么版本,如果是3.12+ 注意新增的几个API 的默认值 (如:http-cache 部分m3u8无法播放)
video

1***@qq.com

1***@qq.com

我也是,为什么呀?

{
"type": "error",
"detail": {},
"target": {
"id": "",
"dataset": {},
"offsetLeft": 0,
"offsetTop": 0
},
"currentTarget": {
"id": "",
"dataset": {},
"offsetLeft": 0,
"offsetTop": 0
},
"timeStamp": 0,
"preventDefault": "function() { [native code] }",
"stopPropagation": "function() { [native code] }",
"mp": {
"@warning": "mp is deprecated",
"type": "error",
"detail": {},
"target": {
"id": "",
"dataset": {},
"offsetLeft": 0,
"offsetTop": 0
},
"currentTarget": {
"id": "",
"dataset": {},
"offsetLeft": 0,
"offsetTop": 0
},
"timeStamp": 0,
"preventDefault": "function() { [native code] }",
"stopPropagation": "function() { [native code] }"
},
"_processed": true
}

9***@qq.com

9***@qq.com

各位大佬 解决了么? 求回复噻

  • 星河888

    我的这个问题解决了,跟hbuilderX的版本有关系,我是恢复(去找官网历史版本)到3.1.9版本就可以了

    2021-10-13 15:24

星河888

星河888 - 知识在于积累,关注点滴珍重!

我的这个问题解决了,跟hbuilderX的版本有关系,我是恢复(去找官网历史版本)到3.1.9版本就可以了

Abby

Abby

使用3.4.18.20220630版本,android上也报这个

2***@qq.com

2***@qq.com

24年了.mp4 在安卓app网络链接看不了(网页又可以看),本地的可以,但是他官网例子的视频无论手机网页都可以

  • 2***@qq.com

    使用 ffmpeg 转为 h264 的MP4 格式,一样看不了,不知道什么情况 ffmpeg -i C:\Users\Administrator\Desktop\newyear01.mp4 -c:v libx264 -preset fast -crf 23 C:\Users\Administrator\Desktop\output_video1.mp4

    2025-01-22 15:28

要回复问题请先登录注册