Page 23 of 24
Audio
To create an audio player, use the [audio]
shortcode
markup
[audio] [source src="/images/demo/audio/sample.mp3" type="audio/mp3"][/source] [source src="/images/demo/audio/sample.ogg" type="audio/ogg"][/source] [/audio]
Video
To create an video player, use the [video]
shortcode
markup
[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]
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
Youtube
markup
[youtube id="YE7VzlLtp-4"][/youtube]
Vimeo
markup
[vimeo id="1084537"][/vimeo]