easy-speech icon indicating copy to clipboard operation
easy-speech copied to clipboard

`onend` event don't work on Safari

Open alexlana opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. The end event is messy in Safari.

Describe the solution you'd like By adding window. before the variable utterance it works perfectly in Safari.

I worked on it in a fork, if you think it can be helpful, I will love to contribute.

alexlana avatar Nov 10 '23 02:11 alexlana

Hey @alexlana thank your for reporting. Can you please specify the line of the code, where utterance exists? => https://github.com/jankapunkt/easy-speech/blob/master/src/EasySpeech.js

Of course, I would be very pleased to see a pull request on this.

jankapunkt avatar Nov 10 '23 10:11 jankapunkt

@alexlana where do you actually put window in front of utterance?

jankapunkt avatar Nov 24 '23 07:11 jankapunkt