It is possible to receive a click event for the image element named "Image1" on the current page.

  <html>  
  <head>
    <script src="wplayer-api.1.0.0.js"></script>
    <script>
      const contentPropertyType = $wp.content.getPropertyType();
      $wp.content
        .getPage()
        .getElement('Image1')
        .addEventListener('click', (e) => {
          $wp.content.getPage().getElement('Text1').setProperty(contentPropertyType.TEXT, `Click Image1`);
        });
    </script>
  </head>  
  </html>