Embedded Content
Docs
Getting Started
Layouts
Media
Modules
Scheduling
Displays
Users
Configuration and Organisation
Troubleshooting
- Modules
- Connectors
- Audio
- Calendar
- Clock
- Countdown
- Currencies
- Dashboard
- DataSet
- Embedded
- Emergency Alert
- Flash
- Google Traffic
- HLS
- HTML Package
- Image
- Local Video
- Mastodon
- Menu Board Category
- Menu Board Products
- National Weather Service
- Notifications
- PowerPoint
- Shell Command
- Stocks
- Ticker
- Video
- Video In
- Weather
- Webpage
- World Clock
On this page
Embedded Content
Embed HTML and JavaScript to be displayed on Layouts and Playlists.
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
scripttags to embed content in the HEAD of the document. (Please see section below.)
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”.