Spreaker Shortcode

Descripción

The Spreaker shortcode plugin is an easy way to embed Spreaker audio player into your WordPress blog. It works for any Spreaker episode, show, or user. Once you install this plugin, it will work on all of your blog posts.

A simple example:

[spreaker type=player resource="episode_id=3331356"]

More Options

Spreaker shortcode requires the resource play. It can be only of the following:

  • resource="episode_id=X": id of the episode to embed.
  • resource="show_id=X": id of the show, whose latest episode should be displayed.
  • resource="show_key=X": private key of the show to embed.

The plugin also supports the following optional parameters:

  • width: player’s width – can be in % or px (ie. 100% or 400px).
  • height: player’s height – can be in % or px (ie. 100% or 400px).
  • theme: player’s UI theme. Supported themes are: light (default) and dark.
  • color: Color principal del reproductor. Los formatos compatibles son valores hexadecimales cortos y largos (es decir: F00 o FF0000). Esta característica necesita que el autor del podcast se suscriba al plan Station o superior.
  • cover: HTTPS url of an image to display as player’s background.
  • playlist: configures how the playlist should be built. It can be playlist="false" to disable the playlist or playlist="show" to display all show’s episodes in the playlist. The default behavious depends on resource. The playlist is visible only if the player height is greater than 200px.
  • playlist-continuous: enables or disables the playlist continuous playback. When true it continuously plays all episodes in the playlist until the end.
  • playlist-loop: enables or disables loop playlist playback when continuous playback is enabled. When true and playlist continuous playback is enabled as well, it will loop the playlist continuously (defaults to false).
  • playlist-autoupdate: enables or disables the playlist autoupdate, when a new episode is published. This feature is enabled by default.
  • chapters-image: enables or disables the display of chapters images in the player (defaults to true).
  • episode-image-position: Cuando es right o left, muestra la imagen del episodio en la derecha o la izquierda (por defecto es right)
  • hide-likes: when true the likes button is not displayed in the player (defaults to false)
  • hide-comments: when true the comments button is not displayed in the player (defaults to false)
  • hide-sharing: when true the share button is not displayed in the player (defaults to false)
  • hide-logo: when true the Spreaker logo is not displayed in the player (defaults to false). This feature requires the podcast author to subscribe to Broadcaster plan or above.
  • hide-episode-description: Cuando es true, el botón para abrir la descripción del episodio actual no se muestra en el reproductor (por defecto es false)
  • hide-playlist-descriptions: Cuando es true, el botón para abrir la descripción de los episodios en la lista de reproducción no se muestra en el reproductor (por defecto es false)
  • hide-playlist-images: Cuando es true, las imágenes de los episodios en la lista de reproducción no se muestran en el reproductor (por defecto es false)
  • hide-download: Cuando es true, oculta el botón de descarga del episodio (por defecto es true)

How to get the shortcode

Play any track on www.spreaker.com and then click on the share button in the player (bottom-right corner): you can customize the appearance of the player and get the shortcode to copy and paste to your WordPress blog.

Help

If you need further help, please contact us at help.spreaker.com.

Colaboradores y desarrolladores

«Spreaker Shortcode» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Spreaker Shortcode» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.8.3

  • Tested with WordPress 6.6
  • Removed support for user resource

1.8.2

  • Tested with WordPress 6.5

1.8.1

  • Tested with WordPress 6.1

1.8.0

  • Dropped autoplay and live-autoplay

1.8.0

  • Tested with WordPress 5.6

10

  • Bugfixes

1.7.8

  • Added color attribute support

1.7.7

  • Tested with WordPress 5.1

1.7.6

  • Added hide-download attribute support

1.7.5

  • FIX: the plugin is now able to embed correctly limited access episodes

1.7.2

  • Added episode-image-position to select if the image should be on the right or the left

1.7.1

  • Updated readme

1.7.0

  • Added episode_key support to display limited access episodes

1.6.0

  • Added hide-episode-description, hide-playlist-descriptions and hide-playlist-images attributes support

1.5.0

  • Added hide-likes, hide-comments, hide-sharing and hide-logo attributes support
  • Tested with WordPress 4.8.2

1.4.1

  • Tested with WordPress 4.8.0

1.4.0

  • Removed the support for the old embedded player (no more supported by Spreaker). If a widget has been included with the old shortcode syntax, it’s now automatically converted to the new embedded player.
  • Added chapters-image attribute support for the new Spreaker’s player

1.3.6

  • Added live-autoplay attribute support for the new Spreaker’s player

1.3.5

  • FIX: the plugin should display the old (mini) embedded player when type attribute is missing, in order to avoid breaking backward compatibility

1.3.4

  • Translated the plugin in Spanish and Italian

1.3.3

  • Added playlist-loop attribute support for the new Spreaker’s player

1.3.2

  • Added playlist-autoupdate attribute support for the new Spreaker’s player

1.3.0

  • Added support for the new Spreaker’s player

1.2.5

  • Tested with WordPress 4.5.3

1.2.4

  • FIX: the plugin now supports sharing of user’s latest episode via user_id param

1.2.3

  • FIX: the plugin now supports both HTTP and HTTPS WordPress websites
  • Tested with WordPress 4.4

1.2.2

  • Tested with WordPress 4.3.1

1.2.1

  • Tested with WordPress 4.1
  • Added banner and icon
  • Updated description

1.2

  • Updated the link to spreaker support forum

1.1

  • Added coupon support

1.0

  • First Release