-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HLS Cors error #353
Comments
You could use a CORS proxy |
Hi @SlideMovies If possible, can you please help me how to use or setup the proxy on the frontend or the backend or you can provide any documentation sort off. |
@dishant0406 Sure, you can email me at [email protected] |
I also came across this error while using React-player can anyone please help me out how to resolve this. |
I get this error too,I need help,thanks very much. |
I found a way around to handle this you can use this url and paste the video url directly after this as path parameter and it will work. |
@Anuragkumarsah It worked, thank you very much. |
Arent there any rate limit |
Yeah there is a rate limit of 50 request per minute, as far as I remember. |
@Anuragkumarsah can you please share an example - result = { I'm making the url as https://corsanywhere.herokuapp.com/?path=https://tc-002.adesicdn.com/1ab5d45273a9183bebb58eb74d5722d8ea6384f350caf008f08cf018f1f0566d0cb82a2a799830d1af97cd3f4b6a9a81ef3aed2fb783292b1abcf1b8560a1d1aa308008b88420298522a9f761e5aa1024fbe74e5aa853cfc933cd1219327d1232e91847a185021b184c027f97ae732b3708ee6beb80ba5db6628ced43f1196fe/0789fd4f049c3ca2a49b860ea5d1f456/ep.1.1677591537.360.m3u8 |
It says, |
Now again it is not working, I guess, I am again getting Cors error, even with corsanywhere. |
But it's working for me |
Ok nvm, I think this was a problem from corsanywhere, I used "https://cors.zimjs.com/" and now it is working again. |
hello bro, i have tried using different hls player to play an episode m3u8 link from https://api.consumet.org/anime/zoro/watch?episodeId=tokyo-revengers-15585$episode$64630$both, but none of them worked only jwplayer worked i think its using some unique cors policy or something, can you please help me out, ive tried to run my code on replit it didnt worked, but when i downloaded replit on my mobile and ran it again the video started to play |
I guess, Replit code of yours is being prevented by Whereas, the Replit app on mobile devices might has its own browsing environment that might not have Cors Policy. Well, talking about JWPlayer; This link is the same as provided by API as Notice that the Here, a cors proxy should be used to use any other player to play on any browser (as each browser has Cors Proxy for security). |
I think that the same goes for Zoro also. |
i solved the cors error, but im still having one issue, when i fetch animes from zoro provider then in the subordub field i only get to see sub |
guys if i created my own instance of jwplayer to avoid cors will it work? |
Describe the bug
I am using the streaming link that is provided by the api in the format of .m3u8 on my frontend using hls.js but it gives cors error and I am unable to play the video is there any way to solve or bypass the cors issue
Steps to reproduce
Expected behavior
The video should play
Actual behavior
Showing cors error
Additional context
No response
The text was updated successfully, but these errors were encountered: