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

Safari on iOS speech support #82

Open
PaulWieland opened this issue Aug 1, 2018 · 3 comments
Open

Safari on iOS speech support #82

PaulWieland opened this issue Aug 1, 2018 · 3 comments

Comments

@PaulWieland
Copy link

PaulWieland commented Aug 1, 2018

For some reason the speech doesn't work in Safari on iOS devices. I believe this can be fixed since https://responsivevoice.org works in Safari.

@Cuxx
Copy link

Cuxx commented Aug 1, 2018

It's a safari related problem. Sounds are working with Chrome.

@PaulWieland PaulWieland changed the title iOS speech support Safari on iOS speech support Aug 1, 2018
@DevertNet
Copy link

iOS needs a user interaction to allow speech.
I don't know why e.g. the play-button in the settings not work, but i have found a workaround:

Open src/delta5server/templates/layout.html.
After {% block content %}{% endblock %} add the following code in a new line:
<a href="#" onclick="speak('<div class=timer>Ready</div>');">Allow iOS Speech</a><br /><br />

You must click on "Allow iOS Speech" first, than speech works :)

@scottgchin
Copy link
Owner

Cool. I'll try it out when I get a chance. It's an iOS issue where the user has to interface with the page before sound is allowed to play.

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

4 participants