Applicable Versions: 5.50.0153 and above
DataPA OpenAnalytics allows you to embed any web content into a control panel on a dashboard. As such, if you want to embed a YouTube video into a dashboard, follow these steps;
- Add a new control panel object to your dashboard.
- From the Panel tab of the Control Panel dialog, select Web element to add a new web element to your control panel.
- Enter the following html as the source for the web element (substituting [YOUR VIDEO ID] for the ID of your video);
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<style>body{margin:0!important;padding:0!important;</style>
</head>
<body>
<iframe width="100%" style="height: calc(100vh - 4px);" src="https://www.youtube.com/embed/%5BYOUR VIDEO ID]?controls=0&fs=0&loop=1&modestbranding=1&rel=0&showinfo=0&autoplay=1" frameborder="0" allowfullscreen></iframe>
</body></html>