Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Displaying a playlist

There are four ways to put a playlist in front of a visitor.

There is no shortcode. The plugin ships an e_shortcode.php file, but it is empty — it was empty in the WordPress original too, and appears to have been left in place for future use. You cannot insert a playlist with {...} syntax.

As a menu

The most common way. The plugin registers a menu that you place in a theme menu area like any other e107 menu.

When configuring the menu you choose:

  • Caption — the heading shown above the player. This can be set per language.

  • Playlist — which playlist to show, from a dropdown of the playlists you have created.

If no playlist is chosen, the menu falls back to playlist 1.

As a page

The plugin has its own front-end page:

plugin/jplayer/jplayer.php?playlist_id=1

Replace 1 with the playlist's ID from the admin list.

Called with no playlist_id at all, the page shows playlist 1.

In a popup

Opens the player in its own popup window. The player's own popup button uses this.

Embedded in an iframe

This is the version meant to be embedded on another site. The player renders a ready-made <iframe> snippet in a text box, so a visitor can copy it and paste it into their own page.

Social sharing links appear alongside it when the social meta preference is on.

Last updated