SUMMARY Google translate has a feature where it plays an audio of the pronunciation. With the extension enabled, even though the website shows an audio being played, no audio comes out. This occurs when plasma extension is the only enabled extension too so other extensions can be ruled out. Audio only works when the extension is disabled STEPS TO REPRODUCE 1. Enable plasma extension 2. Visit https://translate.google.com and translate from any language and enter an example sentence 3. Hit the 'Listen' speaker icon under the translation OBSERVED RESULT No audio plays EXPECTED RESULT Audio should play SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Kubuntu 19.04 (available in About System) KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.56.0 Qt Version: 5.12.2 ADDITIONAL INFORMATION
I made a horrible hack to address this [1] but I might have to just drop pure JS Audio controls... [1] https://phabricator.kde.org/D20830
I have a similar issue with Google Hangouts. If you start a video call and attempt to test sound in speakers, there is no sound if "Enhanced Media Controls" checkbox is checked. Similarly, Fuze Web has sound problems if "Enhanced Media Controls" checkbox is checked. Unchecking it (while leaving the rest of extension enabled) resolves the issue. This is on openSUSE Leap 15.0 with Google Chrome 74.0.3729.131 (also reproducible on Chromium).
Then please test the patch linked. You can just download the code, apply the patch (or download the whole raw file), place it in the extension folder and the load it in chrome://extensions by enabling dev mode and choosing "load unpacked" and pointing it to the extension folder.
(In reply to Kai Uwe Broulik from comment #3) > Then please test the patch linked. You can just download the code, apply the > patch (or download the whole raw file), place it in the extension folder and > the load it in chrome://extensions by enabling dev mode and choosing "load > unpacked" and pointing it to the extension folder. Sorry am I missing something. I can't find the option to download the raw file from phabricator link
Git commit d637f92040c35e628e310adb99fa55e7c1e32e83 by Kai Uwe Broulik. Committed on 21/07/2019 at 11:21. Pushed by broulik into branch 'master'. Add hack to unbreak audio playback through pure JS via new Audio() Let the comment in the code speak for itself. Now, where is my jug of disinfecting agent... Differential Revision: https://phabricator.kde.org/D20830 M +28 -3 extension/content-script.js https://commits.kde.org/plasma-browser-integration/d637f92040c35e628e310adb99fa55e7c1e32e83