How cool! Just got used to the left-right-shake to toggle play and pause of active media app via Tasker when I discovered "Tap, Tap" which seems to work fine with my Samsung Galaxy A53.
https://github.com/KieronQuinn/TapTap
"Tap, Tap provides over 50 actions that can be run from double or triple taps on the back of your device"