Noname968 / airin

Watch Anime Without Interruptions! Enjoy Ad-Free Streaming and AniList Integration only on Airin!
https://aniplaynow.live
GNU General Public License v3.0
64 stars 31 forks source link

Just need a lil assistance, my videos arent playing on the repo i forked #14

Closed InstaTechHD closed 4 months ago

InstaTechHD commented 4 months ago

Would it be possible for me to get a little assistance pls?

Tohjuler commented 4 months ago

Can you describe it a bit more, like is there any error (web console, logs) Maby screenshot.

InstaTechHD commented 4 months ago

Sure, EDIT: Here,s reference Video Page

"(╯°□°)╯︵ ɹoɹɹƎ

Failed to load episode. Please try again later.

If the problem persists, consider changing servers."

From the video screen, happens with all the servers

Tohjuler commented 4 months ago

It seems like it can't connect to the consumet api.

InstaTechHD commented 4 months ago

I just went through the entire consumet api and cant see a reason why it wouldnt be connecting, even tried other peoples api and forked a new one but still

InstaTechHD commented 4 months ago

is there something specific i need to do on consumets side?

Heres the link https://github.com/InstaTechHD/api.consumet.bruhmakima

Tohjuler commented 4 months ago

My mistake, it is a core error Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://jiraiya.vercel.app/api/source/151807. (Reason: CORS preflight response did not succeed). Status code: 405. I think it is because of the NEXT_PUBLIC_PRODUCTION_URL not matching the current url.

InstaTechHD commented 4 months ago

My mistake, it is a core error Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://jiraiya.vercel.app/api/source/151807. (Reason: CORS preflight response did not succeed). Status code: 405. I think it is because of the NEXT_PUBLIC_PRODUCTION_URL not matching the current url.

its still the same

Tohjuler commented 4 months ago

There must be some misconfiguration somewhere, because the site at https://bruhmakima-rho.vercel.app is trying to use the api at https://jiraiya.vercel.app.

InstaTechHD commented 4 months ago

There must be some misconfiguration somewhere, because the site at https://bruhmakima-rho.vercel.app is trying to use the api at https://jiraiya.vercel.app.

im currently going through the code to see if i can find that, i already changed it in the env

InstaTechHD commented 4 months ago

it seems the watch page is the issue but i cant seem to find it https://jiraiya.vercel.app/anime/watch?id=168374&host=gogoanime&epid=loop-7-kaime-no-akuyaku-reijou-wa-moto-tekikoku-de-jiyuu-kimama-na-hanayome-seikatsu-wo-mankitsu-suru-episode-1&ep=1&type=sub

Tohjuler commented 4 months ago

You can try to remove the NEXT_PUBLIC_PRODUCTION_URL and NEXT_PUBLIC_DEV_URL from the env, then the site will use the current url.

InstaTechHD commented 4 months ago

ok, ill try that now

InstaTechHD commented 4 months ago

video episodes are not loading now after removing prod url

Noname968 commented 4 months ago

Send me the link i will check it

InstaTechHD commented 4 months ago

i just deleted the entire project and forked it again

Noname968 commented 4 months ago

Tell me if u got any errors.

InstaTechHD commented 4 months ago

sure, back to square one but im gonna remove the prod url and see

Noname968 commented 4 months ago

According to your conversation it seems the env api urls are misconfigured

InstaTechHD commented 4 months ago

more than likely

InstaTechHD commented 4 months ago

Hey, im at work now and they blocked playing videos on the work PC, i think its fixed now but i cant play it, could you check for me please?

heres the url https://makima-three.vercel.app/

Noname968 commented 4 months ago

yep i will check

InstaTechHD commented 4 months ago

Thank you SM!!

Noname968 commented 4 months ago

It works. The videos are playing fine.

InstaTechHD commented 4 months ago

Thank you so much bro!!! really appreciate you taking the time to assist!! Preciate it

InstaTechHD commented 4 months ago

Hey, sorry to bother you again. do you know why only gogo anime server is the only one showing? it also gives that error with the no episodes found and i keep having to refresh the page for them to show