JSignage:MediaTutorial2

From SpinetiX Support Wiki

Jump to: navigation, search

Description

Media with start time and duration

  • Adding start time and duration attribute.
  • The image will show at t=2s for a duration of 6s, disappearing at t=8s.

Source code

$.media({
  left: 160,
  top: 90,
  width: 960,
  height: 540,
  begin: 2,
  dur: 6,
  href: 'media/SpinetiX.jpg'
}).addTo( 'svg' );

Preview

This page was last modified on 9 August 2017, at 16:16.