收藏
回答

video 报安全问题

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug <video> 工具 最新 2.8.3

wxml: <video id="farmVideo" src='http://hls01open.ys7.com/openlive/f01018a141094b7fa138b9d0b856507b.hd.m3u8'  class='farmVideo' > </video>

报错如下:VM16729:1 Refused to create a worker from 'blob:http://127.0.0.1:42092/5c506dec-7df4-4fee-b86c-13e1517828ad' because it violates the following Content Security Policy directive: "script-src 'self' *.qq.com 'unsafe-inline' 'unsafe-eval'". Note that 'worker-src' was not explicitly set, so 'script-src' is used as a fallback.


回答关注问题邀请回答
收藏
登录 后发表内容
问题标签