Hi Deni,
We suggest you can use the insert YouTube video feature instead of the web object.
Then, use the javascript as shown in this thread: AP - pause youtube video with button - ActivePresenter / Support Questions - ATOMI Community (atomisystems.com)
Please take a look at the attached project for detail:
Play-button-JS.approj (1.4 MB)
P/s: Make sure that the name of the YouTube video object is accurately entered in the script.

Enjoy your time,
Thuy