Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recording does not work on pages with 'Content Security Policy' #860

Open
Adnan-Saleem-93 opened this issue Nov 6, 2023 · 0 comments
Open

Comments

@Adnan-Saleem-93
Copy link

I'm creating a Chrome Extension (manifest v3 - Content Script) that runs on other sites inside an iFrame. I'm using RecordRTC to record user's audio for a Speech to Text module. It works fine on most sites, but recording doesn't work on sites which have 'Content Security Policy' headers, such as GitHub.
Either this is an issue in the library or I'm missing some logic. I've tried adding headers for the 'Content Security Policy' in the iFrame but it doesn't work. Please help me with this issue.

Please have a look at the Screenshot attached.

Screenshot 2023-11-06 135132

P.S. the iFrame is not causing the issue. I've tried testing it after removing the iFrame completely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant