Go to file
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
.github bust cache 2020-10-10 19:39:21 +10:00
meta bump version 2020-10-02 10:22:21 +10:00
proto set_deck() 2020-09-03 17:42:46 +10:00
pylib cleanup / renames 2020-11-10 14:53:04 +01:00
qt Allow <audio> to play without user interaction in accordance to autoplay setting 2020-11-10 14:53:45 +01:00
rslib cleanup / renames 2020-11-10 14:53:04 +01:00
rspy we can optimize the dependencies separately (to an extent) 2020-10-09 20:02:15 +10:00
scripts vendor rename script 2020-04-14 19:49:07 +10:00
ts "fix" ts failing in CI due to improved upstream type signatures 2020-09-29 22:13:25 +10:00
.gitattributes added *.sh eol=lf to .gitattributes because several files have crlf endings. 2020-10-02 11:55:36 +01:00
.gitignore save profile stats to file instead of generating report 2020-05-16 12:53:01 +10:00
CONTRIBUTORS Merge branch 'master' into opus-audio 2020-10-12 12:32:43 +10:00
Dockerfile Update Dockerfile and add README.docker 2020-09-08 14:58:25 -04:00
LICENSE vendor rename script 2020-04-14 19:49:07 +10:00
Makefile use a semi-optimized build during development 2020-10-09 19:51:46 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
README.contributing Revert "Merge pull request #729 from evandroforks/upload_rslib_artifacts" 2020-08-21 19:56:17 +10:00
README.development clarified that .idea folder should be added to global .gitignore, not the repo .gitignore 2020-10-09 11:37:04 +01:00
README.docker add pointers to other README files 2020-09-09 10:01:42 +10:00
README.md drop alpha warning 2020-07-01 15:01:51 +10:00
run remove python version debugging from ./run 2020-04-20 11:21:27 +10:00

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.