54f51da944
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.) |
||
---|---|---|
.github | ||
meta | ||
proto | ||
pylib | ||
qt | ||
rslib | ||
rspy | ||
scripts | ||
ts | ||
.gitattributes | ||
.gitignore | ||
CONTRIBUTORS | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
pkgkey.asc | ||
README.contributing | ||
README.development | ||
README.docker | ||
README.md | ||
run |
This repo contains all the code for the computer version of Anki.
If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/#/
For more information on building, please see README.development.
If you'd like to contribute code, please see README.contributing.