Multimedia-Widgets

multimedia.audio multimedia.image multimedia.music multimedia.slideshow multimedia.station multimedia.timeslider multimedia.playpause


multimedia.slideshow

A widget to display a slideshow, controlled by items/items

Parameters
{{ multimedia.slideshow(id, dir, delay, item_next, item_prev, item_stop, item_start, reverse, controls, refresh) }}
id
unique id for this widget (optional)
dir
a directory where the pictures are located
delay
delay between the slides in sec (optional, default: 4 sec)
item_next
item to switch to the next slide (optional)
item_prev
item to switch to the previous slide (optional)
(if this is same as item_next: 0 triggers previous, any value greater than 0 triggers next, negative values are ignored)
item_stop
item to stop the animation (optional)
item_start
item to start the animation (optional)
(if this is same as item_stop: 0 stops, any value greater than 0 starts, negative values are ignored)
reverse
Show the pictures in reverse order; possible values are 1 or 0 (optional, default 0)
controls
Show controls; possible values are 1 or 0 (optional, default 0)
(they just take effect on the slideshow and do not send anything to backend)
refresh
duration until directory content is refreshed in standard duration format (optional, default='1d')
Example
{{ multimedia.slideshow('', 'pics/slideshow', '', '', '', '', '', '', 1) }}
Some pictures...

Author: Alex ???, Stefan Widmer, Wolfram v. Hülsen
based on cycle2 jquery-plugin: (c) 2012 M. Alsup; Dual licensed: MIT/GPL - http://jquery.malsup.com/cycle2

Widgets

Design

Misc