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

VIdeo doesnt display or load #25

Closed
chitrakshbotwala opened this issue Jul 7, 2023 · 34 comments
Closed

VIdeo doesnt display or load #25

chitrakshbotwala opened this issue Jul 7, 2023 · 34 comments

Comments

@chitrakshbotwala
Copy link
Collaborator

so i deployed this project for personal use and whenever i try to view a video it is just stuc at buffering it couldnt load the video , it just loads episodes that it . Kindly help me with it please

@DevanAbinaya
Copy link
Collaborator

DevanAbinaya commented Jul 7, 2023

have you put all the requirement inside the .env file?

@DevanAbinaya
Copy link
Collaborator

also what provider did you use to watch the video?

@chitrakshbotwala
Copy link
Collaborator Author

chitrakshbotwala commented Jul 7, 2023 via email

@chitrakshbotwala
Copy link
Collaborator Author

chitrakshbotwala commented Jul 7, 2023 via email

@DevanAbinaya
Copy link
Collaborator

can you give me the anime and episode id?

@chitrakshbotwala
Copy link
Collaborator Author

also what provider did you use to watch the video?

also do i need to put .env variables in the API part like do i need to fill up the env variables for consumet , if yes kindly help me with where i can find them

@chitrakshbotwala
Copy link
Collaborator Author

can you give me the anime and episode id?

its not only with a single anime its with every anime i try to watch not just me even my friend who tried to .

NOTE : i redeployed the app i am not talking about your version (MOOPA.live)

@chitrakshbotwala
Copy link
Collaborator Author

also what provider did you use to watch the video?

also do i need to put .env variables in the API part like do i need to fill up the env variables for consumet , if yes kindly help me with where i can find them

also my api runs perfectly but stuff doesnt load up , i have deployed both the API and the APP on vercel

@DevanAbinaya
Copy link
Collaborator

also what provider did you use to watch the video?

also do i need to put .env variables in the API part like do i need to fill up the env variables for consumet , if yes kindly help me with where i can find them

The .env file should look like this :

CLIENT_ID=12345
CLIENT_SECRET=just paste the secret here
GRAPHQL_ENDPOINT=https://graphql.anilist.co <-- no need to change
NEXTAUTH_SECRET='run this cmd (openssl rand -base64 32)'
NEXTAUTH_URL=https://your.domain.com/ <-- if its local then 'http://localhost:3000/'
PROXY_URI=https://proxy.domain.com/ <--- if you have proxy, this proxy is for zoro and enime provider, gogo doesn't need this
API_URI=https://api.consumet.org <--- don't put '/' at the end this can cause problems

@himanshu8443
Copy link
Contributor

CORS error may be

@DevanAbinaya
Copy link
Collaborator

also check this part again

API_URI=https://api.consumet.org <--- don't put '/' at the end this can cause problems

@DevanAbinaya
Copy link
Collaborator

CORS error may be

shouldn't be an issue, I put cf worker for proxy there and it's public

@chitrakshbotwala
Copy link
Collaborator Author

also check this part again

API_URI=https://api.consumet.org <--- don't put '/' at the end this can cause problems

that didnt cause an issue it was written the correct way
here is the API url https://api-streamable.vercel.app

@DevanAbinaya
Copy link
Collaborator

hmmm

@DevanAbinaya
Copy link
Collaborator

can you send the console log?

@chitrakshbotwala
Copy link
Collaborator Author

also what provider did you use to watch the video?

also do i need to put .env variables in the API part like do i need to fill up the env variables for consumet , if yes kindly help me with where i can find them

The .env file should look like this :

CLIENT_ID=12345
CLIENT_SECRET=just paste the secret here
GRAPHQL_ENDPOINT=https://graphql.anilist.co <-- no need to change
NEXTAUTH_SECRET='run this cmd (openssl rand -base64 32)'
NEXTAUTH_URL=https://your.domain.com/ <-- if its local then 'http://localhost:3000/'
PROXY_URI=https://proxy.domain.com/ <--- if you have proxy, this proxy is for zoro and enime provider, gogo doesn't need this
API_URI=https://api.consumet.org <--- don't put '/' at the end this can cause problems

also i didnt use proxy neither was i trying to watch enime or zoro i tried it on gogo and didnt work

@chitrakshbotwala
Copy link
Collaborator Author

can you send the console log?

the api or the app?

@DevanAbinaya
Copy link
Collaborator

can you send the console log?

the api or the app?

the app, on the watch page

@chitrakshbotwala
Copy link
Collaborator Author

can you send the console log?

the api or the app?

the app, on the watch page

ok

@chitrakshbotwala
Copy link
Collaborator Author

image 2
image 1

@chitrakshbotwala
Copy link
Collaborator Author

chitrakshbotwala commented Jul 7, 2023

Uploading image.png…
current

JUL 07 20:02:30.04
200
streamable-swart.vercel.app
[GET] /_next/data/iEKeOtYK--RB_AQ2MnWlc/anime/watch/one-piece-episode-1/21/gogoanime.json
ArtPlayer 5.0.9 https://artplayer.org
JUL 07 20:02:12.00
200
streamable-swart.vercel.app
[GET] /_next/data/iEKeOtYK--RB_AQ2MnWlc/anime/21.json
JUL 07 20:01:57.91
304
streamable-swart.vercel.app
[GET] /api/auth/session/
JUL 07 20:01:57.56
200
streamable-swart.vercel.app
[GET] /
JUL 07 20:01:57.00
308
streamable-swart.vercel.app
[GET] /api/auth/session
JUL 07 20:01:52.76
200
streamable-swart.vercel.app
[GET] /

@DevanAbinaya
Copy link
Collaborator

umm I mean this console
image

@chitrakshbotwala
Copy link
Collaborator Author

image
it is still on the buffer part its been an hour

@chitrakshbotwala
Copy link
Collaborator Author

umm I mean this console image

oh ok

@chitrakshbotwala
Copy link
Collaborator Author

image
better image and here are the logs

@DevanAbinaya
Copy link
Collaborator

yup found it, you shouldn't touch the url here
image

@chitrakshbotwala
Copy link
Collaborator Author

yup found it, you shouldn't touch the url here image

didnt get it did i change it up and messed it ? ive been bug hunting since yesterday

@DevanAbinaya
Copy link
Collaborator

yes, cause that's not a real url doesn't it?
but if you want to host your own proxy instance you can use this cf worker its easy to setup
https://github.com/Gratenes/m3u8CloudflareWorkerProxy

@chitrakshbotwala
Copy link
Collaborator Author

yes, cause that's not a real url doesn't it? but if you want to host your own proxy instance you can use this cf worker its easy to setup https://github.com/Gratenes/m3u8CloudflareWorkerProxy

oh ok so i just replace it with cors.moopa.live?

@DevanAbinaya
Copy link
Collaborator

oh ok so i just replace it with cors.moopa.live?

yup if you don't want to host anything, use this cors.moopa.my.id
*not .live

@chitrakshbotwala
Copy link
Collaborator Author

oh ok so i just replace it with cors.moopa.live?

yup if you don't want to host anything, use this cors.moopa.my.id *not .live

ok and thankyou so much for helping me out , you made a wonderful project .

@chitrakshbotwala
Copy link
Collaborator Author

oh ok so i just replace it with cors.moopa.live?

yup if you don't want to host anything, use this cors.moopa.my.id *not .live

ok and thankyou so much for helping me out , you made a wonderful project .

it just started working thankyou so much , yaay 💀

@DevanAbinaya
Copy link
Collaborator

ok and thankyou so much for helping me out , you made a wonderful project .

it just started working thankyou so much , yaay 💀

Great!, glad to hear that.

@DevanAbinaya
Copy link
Collaborator

yup if you don't want to host anything, use this cors.moopa.my.id *not .live

ok and thankyou so much for helping me out , you made a wonderful project .

not a problem, I'm happy to help :). and since its working imma close this issue now

if you have anymore question just dm me on discord its in the readme file <3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done / Merged to Main 🚀
Development

No branches or pull requests

3 participants