The Button Does Not Trigger the Desired Action in the Embedded Widget

Hello,

I have a problem with a widget I’m creating that includes a button with embedded HTML and JS code via an embedded widget. When I try to activate it, it does not trigger the desired action.

Specifically, I’m trying to configure a button that, when clicked, executes a JavaScript function. This function is intended to activate the advertising screen’s camera and record for 10 seconds. However, despite having the JavaScript code correctly implemented, when the button is pressed, no action is taken.

Additionally, I cannot configure the “Enable Interactivity” or “Go to Widget” options, as an error appears that prevents these settings from being applied.

Could someone please guide me on how to resolve the issue of the button not executing the JavaScript function? I would appreciate any help or suggestions.

Thank you in advance for your time and help!