The hearthis.at plugin allows you to integrate a player widget from hearthis.at into your Blog by using a WordPress shortcodes. Example: [hearthis]ht
The hearthis.at plugin allows you to integrate a player widget from hearthis.at into your WordPress Blog by using a WordPress shortcodes. this is how it works:
These Shortcodes do also supports several optional parameters. These parameters will pass its given value as option on to the player widget.
At the moment the hearthis Shortcode accepts the following parameter and options:
widthdefine the width of the widget (number value and if <= 100 means in % and abouve 100 is in pixels. default is 100)
heightdefine the height of the widget (integer value or empty for default )
themeyou can choose between these 2 options transparent (default) or transparent_black
hcolorbutton and passed time color for the waveform (not set or a hex color with or without a prependig #)
colorhighlight color for the waveform (not set or a hex color with or without a prependig #)
stylestyle '1' is default waveform and value '2' is the digitized waveform
backgroundshows the background if set (values not set, 1 or 0, if is 1 the height is 170px)
waveformhides the waveform if you set to '1', change track height fixed to 95px (values 0 off, 1 on)
autoplaystarts with autoplay (values 0 off, 1 on)
coverhides the cover image if its set (values 0 off, 1 on)
block_sizesize of the waveform blocks (numberr, steps from 1 to 10, default is 2, works only if style is set to 2)
block_spacespace size between the waveform blocks (integer, steps from 1 to 10, default is 1, works only if style is set to 2)
liststyleonly available on playlists or profile urls, this will display a list as single tracks buut works only if you provide value 'single'. If you enter a profile uri from hearthis.at this listing is limited by 50 tracks.
cssstring, should contain a valid uri that will load an additional css file link the link tag
This Version is now stable and provides also a fallback for some old hearthis Shortcode params.
So these params could also being used because they will passed to the their new names.
color2the old name of the hcolor property
paramsa params string with the namend values
digitized_sizeold name of the waveform block size (see block_size)
digitized_spaceold name of the waveform block space (see block_space)
Requires: 3.1 or higher
Compatible up to: 4.3.6
Last Updated: 1 year ago
Active Installs: 100+
Got something to say? Need help?