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

Cross-domain issue with 'window.top.forceNativeAudio' #144

Open
probityrules opened this issue Apr 20, 2017 · 2 comments
Open

Cross-domain issue with 'window.top.forceNativeAudio' #144

probityrules opened this issue Apr 20, 2017 · 2 comments
Assignees

Comments

@probityrules
Copy link
Contributor

I've just run into a breaking error with v1.0.2 and I think it's related to the new force native audio code. I get the following error when window.top.forceNativeAudio is checked:

Uncaught DOMException: Blocked a frame with origin "http://springroll-tc.pbskids.org" from accessing a cross-origin frame.

I think it's breaking on this line, but this source shows it on "window.top.springroll", not directly on "window.top" like I'm seeing in my console: https://github.com/SpringRoll/SpringRoll/blob/master/dist/modules/sound.js#L647

@yanshcherbakovatredspace
Copy link
Contributor

@probityrules This is a known issue, I have a patch for this coming shortly.

@yanshcherbakovatredspace
Copy link
Contributor

@probityrules PR #143 Fixes this. Release is pending. You may point bower at master if need be.

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

2 participants