Public bug reported:

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)

** Affects: chromium-browser (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: focal

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1881953

Title:
  Speech API Doesn't Work

Status in chromium-browser package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1881953/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to