Multimedia-Widgets

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


multimedia.playpause

A button changing from play to pause and vice versa to control a music/video player Using the following logic: current state: play. Click -> pause. Longclick -> stop current state: pause. Click -> play. Longclick -> stop current state: stop. Click -> play.

Parameters
{{ multimedia.playpause(id, item_play, item_pause, item_stop) }}
id
unique id for this widget (optional)
item_play
an item for the play command
item_pause
an item for the pause command
item_stop
an item for the stop command
Example
Simple implementation of the widget. Try with your own audio/videoplayer for better results.
Use these switches to simulate the items. Change playmode by using the icon below:
   
{{ multimedia.playpause('', 'item_play', 'item_pause', 'item_stop') }}

Author: Onkel Andy, Wolfram v. Hülsen (icon display modification)

Widgets

Design

Misc