repository for the project and added the following files:
1. manifest.json
: This file contains the metadata for the extension along with what files to load and what permissions to request.
2. background.js
: This file contains the background script that will run in the background and detect if the user is on a YouTube video page.
3. content.js
: This file contains the content script that will run on the YouTube video page and display the button to the user.
I've been able to successfully load the extension in developer mode and have the background script detect if the user is on a YouTube video page. I've also been able to successfully open a new tab with ElevenLabs and input the YouTube link of the video into the AI dubbing tool. I'm currently working on waiting for the video to be dubbed and then switching the video to the dubbed version by changing the video stream to the link of the dubbed video.
The project is on pause for my subscription to renew and for new credits to be added to my account. At the current subscription prices, it costs $11 per hour of dubbing using the Creator plan at $22/mo and $8.25 per hour using the Growing Business plan at $330/mo. In the meantime, I'll be look into free alternatives to ElevenLabs.