Tutorial:Fusion Template with streaming media content
From SpinetiX Support Wiki
Introduction
Version 1.0 (2013-12-13)
This tutorial explains how to create within Elementi X, a Fusion Template that displays a streaming media whose URI will be entered by the user in Fusion when creating a new Fusion Slide based on this template.
- Difficulty: Medium.
- Total duration: 5-10 minutes.
- Requirements:
- Elementi X (version 3.0.x or greater);
- Hyper Media Player (firmware version 3.0.x or greater) with Fusion mode enabled;
- Streaming media for testing.
Steps
- Open Elementi X and create a Fusion Style Pack (or open an existing one).
- Create a Fusion Template (let's say "StreamURI").
- Add a Streaming Layer. (You can leave the URI to the default value, "rtps://").
- Open the XML Tree view. (You can open the
<defs><title>
element to see the JSON description of the layer.) - Find the
<spx:properties>
element, right-click on it and select "Add Child".- Replace
<new-element>
with<spx:json-string>
. - On this element, add the following attributes / values pairs (i.e. right-click and select "Add attribute"):
- Attribute
name
and valueStream URI
; - Attribute
xlink:href
and value#jsonLayers
; - Attribute
index
and value0
; - Attribute
propertyName
and valueargs.href
; - Attribute
ui
and valueenabled
;
- Attribute
- Replace
- Save the file.
- On the Browse panel, go one level up to the "templates" folder.
- Archive the template you created (i.e. "StreamURI") and upload it into Fusion.
- Create a Fusion Slide based on this template and enter the address of the streaming media.
- Add the Slide to a Program.