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

Manipulate Youtube Audio #1

Open
kevin-chau opened this issue Apr 9, 2017 · 4 comments
Open

Manipulate Youtube Audio #1

kevin-chau opened this issue Apr 9, 2017 · 4 comments

Comments

@kevin-chau
Copy link
Owner

No description provided.

@kevin-chau
Copy link
Owner Author

@kevin-chau
Copy link
Owner Author

we can now stream youtube videos as mp4 html5 embeds in our react framework. we should be able to connect it to the web audio api now.

@kevin-chau
Copy link
Owner Author

Playback with audio works fine for standalone players, but connecting the videos to createMediaElementSource() results in a CORS error.

Enabling 'crossOrigin="anonymous"' on the html5 video player results in the video failing to load.

Without crossOrigin set, the video plays, but sound is disabled. We will need a way to insert an allow-control-allow-origin:* header before loading the video or find a different youtube to mp4 service.

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