Content switch widgets

From SpinetiX Support Wiki

Jump to: navigation, search

Description

Icon content switch widgets.png

These widgets allow displaying a different content depending on one of the following player attributes: "Device name", "Device serial number", "Device type", "Multiscreen ID".

They are useful for the case where you want to group within a single project, multiple pieces of content and then decide which piece is displayed on which player.

To use any of these widgets, download the widget and drag & drop the 7-zip file into your Elementi project.

  • Category: Switchers
  • Author: SpinetiX S.A.
  • License: GPL Version 3
  • Target: Elementi

Content switch per device info

The "Device Info Switch" widget allows displaying a predefined content based on device's name, serial number, or type. To use this widget, follow these steps:

  1. Select the content switch criteria from the "Switch by" drop-down selection box. The possible values are: "Device name", "Device serial number", and "Device type".
  2. Click on "Pages".
  3. Add a new item (layer) within the table using drag & drop, the toolbar buttons, or the contextual menu.
  4. Modify the layer properties if needed.
  5. Enter the match value for which that particular layer is displayed. A drop-down selection box is provided for your convenience.
  6. Repeat steps 3 to 5 until all the cases are covered.
  7. Save the changes and publish the project.
Note Note:
The widget tries to match the name, serial number, or type of the player against the values defined under "Pages" - in case of success, the corresponding layer is displayed, otherwise, the first item ("Default Page") is displayed.
The name, serial number, and type of the player is returned by the deviceInfo object.

Content switch per multiscreen id

The "Multiscreen ID Switch" widget allows displaying a predefined content based on the "Multiscreen ID" setting configured on the player.

To use this widget:

  1. Add a new item (layer) within the table using drag & drop, the toolbar buttons, or the contextual menu.
  2. Modify the layer properties if needed.
  3. Enter the match value for which that particular layer is displayed.
  4. Repeat steps 1 to 3 until all the cases are covered.
  5. Save the changes and publish the project.
Note Note:
The widget tries to match the "Multiscreen ID" setting configured on the player against the values defined under "Pages" - in case of success, the corresponding layer is displayed, otherwise, the first item ("Default Page") is displayed.
The the "Multiscreen ID" setting configured on the player is returned by the deviceInfo object.
This page was last modified on 18 February 2019, at 12:03.