You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to play a youtube video but it gives me errors.
I am sure I have enabled cors too as shown in docs
Errors:
:51279/#/home:1 Access to XMLHttpRequest at 'https://www.youtube.com/youtubei/v1/player?key=AIzaSyA8eiZmM1FaDVjRy-df2KTyQ_vz_yYM39w&prettyPrint=false' from origin 'http://localhost:51279' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
www.youtube.com/youtubei/v1/player?key=AIzaSyA8eiZmM1FaDVjRy-df2KTyQ_vz_yYM39w&prettyPrint=false:1
I am trying to play a youtube video but it gives me errors.
I am sure I have enabled cors too as shown in docs
Errors:
My Code:
The text was updated successfully, but these errors were encountered: