hls.js icon indicating copy to clipboard operation
hls.js copied to clipboard

HTTPS based app trying to load streaming from HTTP sources

Open djpirra opened this issue 6 months ago • 2 comments

What do you want to do with Hls.js?

Hi everyone,

I am currently trying to use an app I am developing to allow seeing streaming directly on the page. However, the streams appear to be all over HTTP, so how can this be overcome?

Is there a way for HLS player to handle this?

While in dev mode and using HTTP it works all perfectly fine.

When I publish I get error Mixed Content Blocked.

What have you tried so far?

No response

djpirra avatar Jun 05 '25 14:06 djpirra

Can the asset be served over SSL? Try replacing http:// with https:// or // (protocol relative - meaning use the same protocol as the page). If the asset cannot be served securely, then it cannot be played on a page served over SSL due to the browser's security policy.

robwalch avatar Jun 05 '25 18:06 robwalch

I have tried to use HTTP page, but still I am facing issues with blockades by Cloudflare etc... It seems that this will not work.

djpirra avatar Jun 08 '25 10:06 djpirra