Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
Local videos are showing just fine. But youtube videos are not loading. Below is the console error.
Access to video at 'https://www.youtube.com/watch?v=F68hWJNujbM' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
www.youtube.com/watch?v=F68hWJNujbM:1 GET https://www.youtube.com/watch?v=F68hWJNujbM net::ERR_FAILED 200
Local videos are showing just fine. But youtube videos are not loading. Below is the console error.
Implementation code given below -