KaniWani audio

Play audio in KaniWani upon correct answers

< Feedback on KaniWani audio

Review: Bad - script does not work

§
Posted: 2020-06-06

does not work with dark mode

The correct answer detection triggers on the RBG value of a specific div item. Dark mode changes the colour, so it is unable to detect a correct answer. I suggest using some other means that the horrid kluge currently employed.

If I get some free time, I might try to come up with an elegant, resilient solution, but until then, I will just whine and hope someone else fixes it...

§
Posted: 2020-06-06

Fixed it by inspecting the background color and hacking the script. Took a while to discover that (apparently) you need the ' ' after the ',' in the 'rgb()' literal. Don't even know what language this is. '==='? No matter. I am happy for now.

Post reply

Sign in to post a reply.