video组件中的src路径的填写
video组件怎么样才能读取手机本地的视频文件?How can the video component read the local video file of the mobile phone?
video组件怎么样才能读取手机本地的视频文件?框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|
小程序 | Bug | video | 微信iOS客户端 | 6.5.3 | 2.0.0 |
video组件中的src路径的填写
Framework type problem type API / component name terminal type wechat version basic library version applet bug video wechat IOS client 6.5.3 2.0.0 video component SRC path filling
回答:
目测不支持。
请读一下video标签的文档中src的介绍,并没有提到本地地址。
小程序是上传到云端的, 如果你的本地地址是从D盘之类的开始,小程序是读取不到的, 你要将视频放在小程序代码目录里面才行。