JSignage:PlaylistTutorial2

From SpinetiX Support Wiki

Jump to: navigation, search

Description

Simple playlist with two images and one video

  • Basic playlist with two images and one video.
  • the playlist finishes at t=46.5s when the video ends.

Source code

$.playlist({
  left: '15%',
  top: '15%',
  width: '70%',
  height: '70%',
  data: [ 'media/SpinetiX.jpg', 'media/Fusion.jpg', 'media/hmp200_sd.mp4' ],
  defaultDur: 5,
  defaultTransition: $.wipe({ type: 'iris', dur: 2 }),
  repeatCount: 'indefinite'
}).addTo( 'svg' );

Preview

Note: To see the video, you need to use Chrome (or Safari) browser with QuickTime plug-in installed.

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