Closed jamenai closed 1 year ago
The api does not work in the browser due to cors restrictions from YouTube (the browser checks the cross-origin headers, which are obviosly not valid for your app). You could wrap it in your own rest api (express, nestjs, ...)
Nice, thank you for the quick answer!
Tested and did some research already, it's hard to prevent CORS in a production environment, but you can use a clientside proxy to bypass it when development, after you built it may not work.
I try to use the api from a local small webapp but ran in cors issues.
Whats wrong? ;-)