Media - Shortcodes: Audio
Wednesday, June 25, 2014 12:19 AMShortcodes
[intense_audio]
Description
Adds an audio player to your page or post.
Screenshots
Dialog
Attributes
Attribute | Type | Dialog Title | Description | Default | Available Values |
---|---|---|---|---|---|
title | hidden | Title | |||
url | text | URL | Audio file url. Supported formats: mp3, ogg | ||
width | text | Width | Examples: auto, 100%, or 300px | auto | |
autoplay | checkbox | Autoplay | Play audio file automatically when page is loaded. | 1 = true, 0 = false | |
loop | checkbox | Loop | Repeat when playback has ended. | 1 = true, 0 = false | |
class | text | CSS Class | |||
background_color | color_advanced | Background Color | #dddddd | option colors - primary, error, info, inverse, muted, success, warning, link web color - hex, rgb, rgba, hsl, hsla, color name (see wikipedia web colors) | |
button_color | color_advanced | Button Color | primary | option colors - primary, error, info, inverse, muted, success, warning, link web color - hex, rgb, rgba, hsl, hsla, color name (see wikipedia web colors) | |
button_background_color | color_advanced | Button Background Color | #333333 | option colors - primary, error, info, inverse, muted, success, warning, link web color - hex, rgb, rgba, hsl, hsla, color name (see wikipedia web colors) | |
text_color | color_advanced | Text Color | #444444 | option colors - primary, error, info, inverse, muted, success, warning, link web color - hex, rgb, rgba, hsl, hsla, color name (see wikipedia web colors) | |
progress_color | color_advanced | Progress Color | primary | option colors - primary, error, info, inverse, muted, success, warning, link web color - hex, rgb, rgba, hsl, hsla, color name (see wikipedia web colors) | |
progress_background_color | color_advanced | Progress Background Color | #cccccc | option colors - primary, error, info, inverse, muted, success, warning, link web color - hex, rgb, rgba, hsl, hsla, color name (see wikipedia web colors) |
Examples
[intense_audio url="http://www.buzzsprout.com/15939/160447-special-one-on-one-with-a-hacker.mp3"]
[intense_audio url="http://www.buzzsprout.com/15939/164092-110-with-julie-ann-horvath.mp3" autoplay="1" loop="1" background_color="#444444" button_color="#fc0505" button_background_color="#000000" text_color="#cccccc" progress_color="#fc0505"]