【发布时间】:2021-06-22 02:26:01
【问题描述】:
我有一个问题,网页使用 SSL 保护,但页面内的视频和音频内容不是,源 URL 是 HTTP,这会阻止用户在 WebView 中播放这些类型的内容。消息如下:
"Mixed Content: The page at 'https://<page url>' was loaded over HTTPS, but requested an insecure video 'http://<video url>.mp4'. This request has been blocked; the content must be served over HTTPS.", source: https://<page url> (0)
是否有可能以某种方式允许或强制 WebView 加载混合内容并允许用户播放不受 SSL 保护的内容?
谢谢
【问题讨论】:
标签: flutter http https webview