SignageNode plays media defined in TDJ playlists (Tile Definition JSON) on multiple display layers.
https://www.signagenode.com/docs.html
When SignageNode is started by DS Loader on the stacks platform it will automatically play media from the main sequence in the main layer (layer0).
Screen data set manually or using the Quick Data API is sent to SignageNode. The data named layer0, layer1 and layer2 is used for controlling SignageNode layers. The value of the layer data must be set to one of the following:
| stacks | Play media from main stacks sequence. |
| stacks_top | Captions for videos in the main sequence and scrolling text. |
| URL | Show TDJ located at a specific web address. |
| hide | Hide the layer completely |
When SignageNode is first launched by DS Loader, the following layers are automatically configured.
layer0=stacks
layer1=stacks_top
layer2=hide
layer3=hide
Playlists for upper layers (layer2 and layer3) can be set and modified manually inside the SignageNode admin interface. There are some examples available.
Connect to SignageNode (use the options button inside stacks platform and then connect)
- Click Playlists
- Click 2 (for layer2)
- Click Example playlists
- Select an Example playlist
- Click Create
- Now press Apply and play first
To make changes to many screens, a file containing the TDJ can served by a web server and the URL to the file added to screen data.
Example using URL
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
To force the player to update, it is necessary to change the value. SignageNode will detect changes to this value and know it is necessary to fetch the TDJ and update what is displaying.
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
Sequence frames
Sequence frames configured in the stacks admin interface are ignored by SignageNode by default.
However, it is possible to access a second sequence defined in a sequence frame in an upper layer.
This is done by adding the following tile to the TDJ:
{
"data": {
"loop": "true"
},
"items": [
{
"player": "FramedSequencePlayer",
"data": {
"escalateErrors": "false"
}
}
]
}
The second sequence will play at the same time as the main sequence on the main layer.
Comments
0 comments
Please sign in to leave a comment.