Embedded Content
On this page
Embedded Content
Embed HTML and JavaScript to be displayed on Layouts and Playlists.
- Embedded HTML
- Available from CMS: 1.8
- Embedded HTML 1.8
- Cloud
Overview
-
Make custom enhancements without modifying the core application.
-
For content with a transparent background tick to show the Widget with a transparent background.
-
Scale content with the Layout.
-
Preload content off screen.
-
Enter text or HTML to embed.
-
Use a CSS style sheet to control the visual styling.
-
Include
script
tags to embed content in the HEAD of the document. (Please see section below.)
-
Transparent background and Scale is available on Windows from v2 R253.
-
Preloading off screen is currently only available from Android v2 R207.
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>