以下错误只会出现在iPhone手机上。android和Mac不会出现。
使用video组件播放天翼云obs地址的视频,无论是content-Type:video/mp4 还是application/octet-stream都会报以下错误:
VM2410:2 MiniProgramError
jsapi has no permission, event=onVideoLoadStart, runningState=foreground, permissionMsg=permission got, detail=jsapi has no permission
Error: jsapi has no permission, event=onVideoLoadStart, runningState=foreground, permissionMsg=permission got, detail=jsapi has no permission
jsapi has no permission, event=onVideoLoadStart, runningState=foreground, permissionMsg=permission got, detail=jsapi has no permission
阿里云的视频地址content-Type:video/mp4不会报该错误
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
代码片段见链接。代码片段中的视频地址可以在模拟器、android上播放,在iOS手机上会报错:jsapi has no permission
Referer: https://servicewechat.com/wxd58e95f886f41021/devtools/page-frame.html