There is a website that embeds youtube videos - Using the normal youtube iframe api. Now, according to the youtube iframe api:
The IFrame player API lets you embed a YouTube video player on your website and control the player using JavaScript. Using the API's JavaScript functions, you can queue videos for playback; play, pause, or stop those videos; adjust the player volume; or retrieve information about the video being played.
However, what I want is my Chrome extension to control this video on a third party website. Right now, this throws CORS errors. Is there a way to fix it?
Or is this “impossible” to do? Right now, we’ve tried everything.
Thanks
*Note: right now I can achieve the correct behavior on YouTube’s site. However, I cannot achieve this same behavior on a third party site with youtube video embedded as an iframe.