Speech API Doesn't Work

Bug #1881953 reported by Lonnie Lee Best
This bug report is a duplicate of:  Bug #1792300: Speech Synthesis Not Working. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
New
Undecided
Unassigned

Bug Description

Modern web browsers, by spec, are supposed to support Speech Synthesis:
https://developer.mozilla.org/en-US/docs/Web/API/Window/speechSynthesis

Although Chromium does indeed support it:
https://caniuse.com/#feat=speech-synthesis

It doesn't work in Ubuntu or Kubuntu 20.04.

On this vary page, you should be able to have Chromium read it aloud by typing shift-ctrl-I and then entering this code-line into the console (and pressing enter):

speechSynthesis.speak(new SpeechSynthesisUtterance(document.getElementsByTagName("body")[0].innerText));

Something shorter, that you could type into the browser-console (for testing) is:

speechSynthesis.speak(new SpeechSynthesisUtterance("testing 1, 2, 3");

You should be able to hear the browser say "testing 1, 2, 3" after doing this, but it doesn't working via the Chromium snap package for Ubuntu 20.04.

Another example, is this Card Trick (it should speak to your during the trick):
http://www.lonniebest.com/CardTrick/
(Try it in Windows 10 Chromium to hear what it is supposed to do)

Tags: focal
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.