Mute embeded video whith buttom

I have searched the forum for a way to mute the sound on a self-hosted embeded video with a button without luck. Please, is it someone who has a good solution. See my simple hype file (153.7 KB)

Thanks for reply - I gett ismuted is not defined error in console. Any suggestions?

Sorry the example I gave was incorrect, this should help you with a mute toggler: How to make a toggle button to toggle Audio Mute?

Make sure that you take your media element outside of the widget and place it within the inner HTML of a regular rectangle.