Workshop - Media Widget - Allow Autoplay

User Story
As an Condition Monitoring Operator when a new alert is surfaced in workshop application I would like an audible sound to be played from the browser to get my attention.

Existing Functionality

  • Auto refreshing object datasets
  • Popup windows
  • Parameterized Titles

Functionality Required

  • Enable ‘autoplay’ option for media preview widget
  • This would modify the raw html for the media
<audio **autoplay** controls>...</audio>

Workaround

  1. Create slate application with html content as follows

  2. Link Slate Application as Custom Widget via iFrame

  3. Toggle Visiblity of iFrame to trigger audio from browser

The above slate iframe will autoplay the notification audio whenever the iframe is rendered