如何在https请求中使用http请求?

时间:2021-07-23 09:40:22

标签: security browser

我需要使用 https 请求在我的网站中运行 http 请求。

此代码在我的网站中使用 http:例如 http://mywebsite.com 播放,但不在 https 中播放:例如 https://mywebsite.com

<audio id="stream" controls preload="none" autoplay style="width: 400px;">
    <source src="http://185.88.177.45:9948/;" type="audio/mpeg">
</audio>
<script>
    var audio = document.getElementById('stream');
    audio.volume = 0.5;
</script>

我在 Ubuntu 操作系统中使用 Laravel 框架。

我用 cloudflare 有办法吗?

https 网站怎么玩?

0 个答案:

没有答案