Shortcodes

Shortcodes

[heading size=”h2″ style=”uk-module-title”]Audio[/heading]

To create an audio player, use the [/column] [/grid] [line_break/] [badge style=”note”]markup[/badge] [code][audio] [source src=”images/demo/audio/sample.mp3″ type=”audio/mp3″][/source] [source src=”images/demo/audio/sample.ogg” type=”audio/ogg”][/source] [/audio][/code] [line_break/] [heading size=”h2″ style=”uk-module-title”]Video[/heading]

To create an video player, use the [/column] [/grid] [line_break/] [badge style=”note”]markup[/badge] [code][video poster=”images/demo/video/poster.jpg”] [source src=”images/demo/video/big_buck_bunny.mp4″ type=”video/mp4″][/source] [source src=”images/demo/video/big_buck_bunny.webm” type=”video/webm”][/source] [/video][/code] [line_break/]

You can also stream youtube or vimeo videos using the player, by using the following shortcodes, where the id is the video id on the respective channel

[heading size=”h3″ style=”uk-module-title”]Youtube[/heading] [grid] [column size=”1-2″] [youtube id=”YE7VzlLtp-4″][/youtube] [/column] [/grid] [line_break/] [badge style=”note”]markup[/badge] [code][youtube id=”YE7VzlLtp-4″][/youtube][/code] [line_break/] [heading size=”h3″ style=”uk-module-title”]Vimeo[/heading] [grid] [column size=”1-2″] [vimeo id=”1084537″][/vimeo] [/column] [/grid] [line_break/] [badge style=”note”]markup[/badge] [code][vimeo id=”1084537″][/vimeo][/code]