SignageNode plays media content defined by Tile Definition JSON playlists on multiple display layers.
These playlists are typically configured in the admin interface of the player, however, they can also be updated remotely by specifying a location to fetch the TDJ in data section.
When running inside DS Loader connected to the stacks platform, the player data section is automatically populated with data added to the Screen Data. This means updating the values serverside, either manually or using the quick data API, will propagate to SignageNode. If there is an active UDP setup, this change will occur instantly.
Updating a layer
The important variables are named layer0, layer1 and layer2. The value should be a URL to a TDJ file to start playing or "hide" to indicate the layer should be hidden.
To force the player to update it is necessary to change this value. SignageNode will see changes to this value and know it is necessary to fetch the TDJ and update what is displaying.
Examples
Display a popup on layer 2 (top layer):
layer2=https://targetr-demo-media.b-cdn.net/popup-example.json
Hide the popup: (This example is already configured to slide out)
layer2=hide
It is recommended that the URL includes a version parameter to ensure the player knows it needs to update and play the TDJ.
layer2=https://targetr-demo-media.b-cdn.net/popup-example.json?v=2
The Quick Data API can be used to update these layers automatically by another system.
Comments
0 comments
Please sign in to leave a comment.