iBicha / UnityYoutubePlayer

Play YouTube videos in Unity
The Unlicense
331 stars 63 forks source link

Error "HTTP/1.1 404 Not Found" only on Android/iOs using our own Heroku instance #102

Closed franstuka closed 1 year ago

franstuka commented 1 year ago

Hi I'm trying to reproduce videos in Android and IOS. In Desktop, Unity Editor and web (even in phone) works fine.

I have Deploied the server in Heroku, and setted the YoutubeDl.ServerUrl propierty to my own server before making any calls.

In the videoplayer GO, the "cli" is setted to Yt Dlp, (however i tried both options without success)

Checking the logcat, I get this error:

> ERROR HTTP/1.1 404 Not Found
> ResponseError:<!DOCTYPE html>
> <html lang="en">
> <head>
> <meta charset="utf-8">
> <title>Error</title>
> </head>
> <body>
> <pre>Cannot GET //v1/video</pre>
> </body>
> </html>
iBicha commented 1 year ago

When setting the YoutubeDl.ServerUrl, remove the trailing /