https://bugs.kde.org/show_bug.cgi?id=411742

--- Comment #16 from Tasos Sahanidis <ta...@tasossah.com> ---
(In reply to Kai Uwe Broulik from comment #15)
> Git commit c1d7ea7346074e1912d56b9aed8d5ec47957e3a2 by Kai Uwe Broulik.
> Committed on 14/11/2019 at 18:33.
> Pushed by broulik into branch 'master'.
> 
> Fixup new Audio() constructor and apply autoplay prevention evasion to
> document.createElement
> 
> The arguments apparently weren't properly forwarded to the constructor,
> breaking e.g. new Audio("foo") calls. This uses the much nicer spread syntax
> introduced in ES6.
> Also, document.createElement("audio") is affected in the same way as new
> Audio()
> The evasion is now only done when the player actually starts playing,
> not immediately when it is created, since we only care about playing players.
> 
> Differential Revision: https://phabricator.kde.org/D24870
> 
> M  +40   -39   extension/content-script.js
> 
> https://commits.kde.org/plasma-browser-integration/
> c1d7ea7346074e1912d56b9aed8d5ec47957e3a2

The patch seems to cause a regression with the Wikipedia audio player.

Clicking play does make it start playing, however it acts as if it hasn't
started playing yet, thus showing the play icon instead of the pause icon while
playing. It's impossible to pause the playback, seek, mute, and in general no
controls work.

Clicking play more than once makes it play the same sound multiple times
simultaneously.

Example URL: https://en.wikipedia.org/wiki/File:Thunder.ogg

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to