uniapp开发的小程序,播放格式为m3u8的视频,手机端的微信小程序可以播放,电脑端的播放不了?用的是uniapp 原生播放器,报{"type": "error", "timeStamp": 15507, "target": {"id": "videoPlayBackId", "offsetLeft": 0, "offsetTop": 0, "dataset": {"eventOpts": [["controlstoggle", [["handlBackVideoBtnShow", ["$event"]]]], ["timeupdate", [["handlBackVideoTimeupdate", ["$event"]]]], ["error", [["handlBackVideoError", ["$event"]]]], ["play", [["handlBackVideoPlay", ["$event"]]]], ["ended", [["handlBackVideoEnded", ["$event"]]]], ["tap", [["handlBackVideoTap", ["$event"]]]], ["pause", [["handlBackVideoPause", ["$event"]]]], ["fullscreenchange", [["handlBackVideoFullscreenchange", ["$event"]]]]]}, "errMsg": "HLS error, type: mediaError, details: bufferAppendError, response: "none""}, "currentTarget": {"id": "videoPlayBackId", "offsetLeft": 0, "offsetTop": 0, "dataset": {"eventOpts": [["controlstoggle", [["handlBackVideoBtnShow", ["$event"]]]], ["timeupdate", [["handlBackVideoTimeupdate", ["$event"]]]], ["error", [["handlBackVideoError", ["$event"]]]], ["play", [["handlBackVideoPlay", ["$event"]]]], ["ended", [["handlBackVideoEnded", ["$event"]]]], ["tap", [["handlBackVideoTap", ["$event"]]]], ["pause", [["handlBackVideoPause", ["$event"]]]], ["fullscreenchange", [["handlBackVideoFullscreenchange", ["$event"]]]]]}}, "mark": {}, "detail": {"errMsg": "HLS error, type: mediaError, details: bufferAppendError, response: "none""}, "mut": false, "_userTap": false, "__evName": "error", "mp": {"type": "error", "timeStamp": 15507, "target": {"id": "videoPlayBackId", "offsetLeft": 0, "offsetTop": 0, "dataset": {"eventOpts": [["controlstoggle", [["handlBackVideoBtnShow", ["$event"]]]], ["timeupdate", [["handlBackVideoTimeupdate", ["$event"]]]], ["error", [["handlBackVideoError", ["$event"]]]], ["play", [["handlBackVideoPlay", ["$event"]]]], ["ended", [["handlBackVideoEnded", ["$event"]]]], ["tap", [["handlBackVideoTap", ["$event"]]]], ["pause", [["handlBackVideoPause", ["$event"]]]], ["fullscreenchange", [["handlBackVideoFullscreenchange", ["$event"]]]]]}}, "currentTarget": {"id": "videoPlayBackId", "offsetLeft": 0, "offsetTop": 0, "dataset": {"eventOpts": [["controlstoggle", [["handlBackVideoBtnShow", ["$event"]]]], ["timeupdate", [["handlBackVideoTimeupdate", ["$event"]]]], ["error", [["handlBackVideoError", ["$event"]]]], ["play", [["handlBackVideoPlay", ["$event"]]]], ["ended", [["handlBackVideoEnded", ["$event"]]]], ["tap", [["handlBackVideoTap", ["$event"]]]], ["pause", [["handlBackVideoPause", ["$event"]]]], ["fullscreenchange", [["handlBackVideoFullscreenchange", ["$event"]]]]]}}, "mark": {}, "detail": {"errMsg": "HLS error, type: mediaError, details: bufferAppendError, response: "none""}, "mut": false, "_userTap": false, "__evName": "error"}, "stopPropagation": "<Function: F>", "preventDefault": "<Function: F>"}

1***@qq.com
- 发布:2025-08-04 15:03
- 更新:2025-08-04 15:04
- 阅读:55
1 个回复
DCloud_UNI_JBB
试一下原生微信小程序有没有这个问题