Safari - PlayPause for Udemy on a Non-Touchbar MacBook Pro

Hi, I have a 2012 MB Pro Retina.

I'm doing a lot of courses on Udemy in Safari and the Keyboard play pause button works randomly for playing and pausing the playback window in Safari. Sometimes it doesn't work at all, other times it will only pause or play. Other times it works fine. I have not been able to figure out why.

I'm now trying to get BTT to take over that command and route it to Safari so it works reliably and consistently. How can I get this setup in BTT?