/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Onkel Andy * @copyright 2017 - 2020 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_multimedia.html" %} {% block example %}
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:
{{ basic.stateswitch('', 'item_play', 'icon', '', 'audio_play') }}  {{ basic.stateswitch('', 'item_pause', 'icon', '', 'audio_pause') }}  {{ basic.stateswitch('', 'item_stop', 'icon', '', 'audio_stop') }}
{% filter trim|escape|nl2br %}{% verbatim %} {{ multimedia.playpause('', 'item_play', 'item_pause', 'item_stop') }} {% endverbatim %}{% endfilter %}
{{ multimedia.playpause('', 'item_play', 'item_pause', 'item_stop') }}
{% endblock %}