Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

Subtitle rejected by browsers on ssl conection #46

Open
scara78 opened this issue Mar 20, 2020 · 5 comments
Open

Subtitle rejected by browsers on ssl conection #46

scara78 opened this issue Mar 20, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@scara78
Copy link

scara78 commented Mar 20, 2020

Subtitles are still loaded as insecure connection under ssl. Must allow insecure objects in browser settings.
Thank you for such a wonderful project

@Davenchy
Copy link
Owner

Davenchy commented Mar 21, 2020

OK bro, I am going to support HTTPS for frontend.
But I need to know, are you talking about heroku hosting or local hosting?
And thank you for using Live Torrent.

@Davenchy Davenchy added features request enhancement New feature or request question Further information is requested and removed features request labels Mar 21, 2020
@Davenchy
Copy link
Owner

I think i got it, I am using Brave browser and the browser blocks the caption file when ever Live Torrent tries to download it and shows "Insecure content blocked" icon in the url bar.
Is this what you are talking about because all what I can do is to create a proxy for OpenSubtitles.org like what I did with YTS api here ddf4a39.

@Davenchy Davenchy added this to To do in Live Torrent Main via automation Mar 21, 2020
@Davenchy Davenchy moved this from To do to In progress in Live Torrent Main Mar 21, 2020
@scara78
Copy link
Author

scara78 commented Mar 21, 2020

Yes, this is what im talking about, im using heroku, even installed on localhost subtitles are not loaded.
An api to get movie stream by tmdbid will be nice,if you know what i mean
someting like http://live-torrent.herokuapp.com/stream/tt73444

Have a nice day!

@Davenchy
Copy link
Owner

Davenchy commented Mar 22, 2020

OK, thanks for the feedback right now I created opensubtitles.org captions proxy and still working on tests before publishing the backend package and I will try to provide the api like in your example then I will start working on the frontend itself.
Happy Day!

@Davenchy Davenchy removed the question Further information is requested label Jun 23, 2020
@Davenchy Davenchy moved this from In progress to To do in Live Torrent Main Jun 23, 2020
@Davenchy Davenchy moved this from To do to In progress in Live Torrent Main Jun 24, 2020
@dosboxonline
Copy link

dosboxonline commented Jun 30, 2023

Add this <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> to index.html file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Live Torrent Main
  
In progress
Development

No branches or pull requests

3 participants