Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Embedded Widget

Embed HTML and JavaScript

Include script tags to embed content in the HEAD of the document.

HEAD content to Embed

JavaScript should be wrapped in script tags. Xibo will automatically add jQuery.

The EmbedInit() method will be called by the Player and can be used to safely start any custom JavaScript at the appropriate time. The method is defaulted on any new Embedded media Item.

<script type="text/javascript">
function EmbedInit()
{
    // Init will be called when this page is loaded in the client.

    return;
}
</script>

Show embedded HTML with Active-X content on a Windows Player, with the security settings of IE, so that local files are allowed to run active content by default. This can be done in Tools -> Internet Options -> Advanced -> Security -> “Allow Active content to run in files on My Computer”.

Last updated

Was this helpful?