Tutorial:Fusion Template with streaming media content

From SpinetiX Support Wiki

Jump to: navigation, search

Introduction

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.

Steps

  1. Open Elementi X and create a Fusion Style Pack (or open an existing one).
  2. Create a Fusion Template (let's say "StreamURI").
  3. Add a Streaming Layer. (You can leave the URI to the default value, "rtps://").
  4. Open the XML Tree view. (You can open the <defs><title> element to see the JSON description of the layer.)
  5. Find the <spx:properties> element, right-click on it and select "Add Child".
    1. Replace <new-element> with <spx:json-string>.
    2. On this element, add the following attributes / values pairs (i.e. right-click and select "Add attribute"):
      • Attribute name and value Stream URI;
      • Attribute xlink:href and value #jsonLayers;
      • Attribute index and value 0;
      • Attribute propertyName and value args.href;
      • Attribute ui and value enabled;
  6. Save the file.
  7. On the Browse panel, go one level up to the "templates" folder.
  8. Archive the template you created (i.e. "StreamURI") and upload it into Fusion.
  9. Create a Fusion Slide based on this template and enter the address of the streaming media.
  10. Add the Slide to a Program.
This page was last modified on 3 December 2014, at 15:32.