Anki/qt
Andreas Reis 54f51da944 Allow <audio> to play without user interaction in accordance to autoplay setting
Since 2018, Chromium by default requires at least one user interaction with a page in order for sound to play. That's not what an Anki user expects.

So this commit undoes this by setting the policy accordingly if the deck's settings have autoplay set, so that files in <audio> tags (if they further have the autoplay attribute set / are jscripted accordingly) are treated the same as ones in [sound:…] elements. OFC, it's obviously not a good idea to mix both on one card.

(AnkiDroid's WebView has already been unconditionally ignoring the requirement since forever.)
2020-11-10 14:53:45 +01:00
..
aqt Allow <audio> to play without user interaction in accordance to autoplay setting 2020-11-10 14:53:45 +01:00
aqt_data/web include generated js in aqt_data 2020-06-29 15:48:01 +10:00
designer backups no longer happen on each sync 2020-09-27 12:59:51 +10:00
ftl split add-ons window title from menu bar action 2020-07-19 09:49:36 +10:00
po accept alternate strings file 2020-08-09 14:44:23 +10:00
tests FString -> TR 2020-02-27 12:25:19 +10:00
tools formatting fix 2020-10-12 12:37:51 +10:00
ts Have a "default" highlight, but naturally follow focus if focus is in container 2020-10-05 22:54:23 +02:00
.gitignore reimplement congrats screen in Rust+Typescript 2020-09-01 10:24:38 +10:00
.isort.cfg make sure isort preserves ordering if anki installed into python env 2020-01-03 13:34:51 +10:00
.pylintrc tweaking the folder names again 2020-01-03 07:48:38 +10:00
anki.1 tweaking the folder names again 2020-01-03 07:48:38 +10:00
anki.desktop Add .ankiaddon mime-type on Linux and register Anki as its handler 2020-01-03 17:58:11 +01:00
anki.png tweaking the folder names again 2020-01-03 07:48:38 +10:00
anki.xml Add .ankiaddon mime-type on Linux and register Anki as its handler 2020-01-03 17:58:11 +01:00
anki.xpm tweaking the folder names again 2020-01-03 07:48:38 +10:00
Makefile migrate the majority of the sass vars to css variables 2020-09-01 10:24:38 +10:00
mypy.ini enable strict equality checks in mypy 2020-08-03 10:26:40 +10:00
pkgkey.asc tweaking the folder names again 2020-01-03 07:48:38 +10:00
pyproject.toml Set to build a source distribution instead of build distribution 2020-04-02 22:56:37 -03:00
requirements.dev tweaking the folder names again 2020-01-03 07:48:38 +10:00
requirements.qt update qt version pin 2020-06-03 09:55:04 +10:00
runanki tweaking the folder names again 2020-01-03 07:48:38 +10:00
setup.py bump version 2020-10-02 10:22:21 +10:00