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

speak.js doesnt work on chrome, safari and opera ... #41

Open
OrtalLagziel opened this issue Dec 29, 2013 · 3 comments
Open

speak.js doesnt work on chrome, safari and opera ... #41

OrtalLagziel opened this issue Dec 29, 2013 · 3 comments

Comments

@OrtalLagziel
Copy link

Hi,
I'm trying to using speak.js but it is not working when using chrome, safari and opera and it is working using FireFox,
Can you helop me?
the error i get using chrome is "Uncaught TypeError: Cannot set property 'onmessage' of undefined" on line "speakWorker.onmessage = function(event) {

and when Im trying to define: speakWorker = new Worker('speakWorker.js');
i get "Uncaught SecurityError: Failed to create a worker: script at 'file:///C:/Users/ortal.lagziel/Desktop/pp/speak-js-master/speakWorker.js' cannot be accessed from origin 'null'."
Thanks

@aml25
Copy link

aml25 commented Apr 18, 2014

I get the same thing. It appears speak.js is no longer in active development. The "active" fork shows up on github as page not found, and the demo linked here doesn't actually load any demo regarding speak.js.

@ghost
Copy link

ghost commented May 5, 2014

I had the same problem initially. But after I ran it in a web server, it worked.

@Gooseus
Copy link

Gooseus commented Mar 19, 2015

For anyone that is interested, this app is using web workers, which is what is breaking if you check the console - then check out this post:

http://stackoverflow.com/questions/14953847/web-worker-not-working

Basically if you want it to work in chrome off the local file system you need to start chrome with

chrome --allow-file-access-from-files

Otherwise you want to load the helloworld example from a webserver

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

3 participants