Loading the player...

You can load your HWDMediaShare playlists directly into the JWPlayer, and display these on your Joomla website. 

The JWPlayer has an internal playlist feature which can be used to display a playlist bar with media files next to the video display. Viewers are able to browse the playlist bar and select items.

The example above demonstrates this, and this article will explains how to show your HWDMediaShare playlists in the JWPlayer, and provide working examples.

Generate a Media RSS feed for your playlist

The JWPlayer provides support for playback of RSS playlists, and the HWDMediaShare API provides a method to generate Media RSS feeds for your media. You can read more about this in our API documentation.

For example, the following URL will generate an Media RSS feed for recent media in the gallery:

http://hwdmediashare.co.uk/index.php?option=com_hwdmediashare&view=media&format=feed&type=mrss

You can then apply additional filters to show media from a specific playlist. You can see a list of all available filters in our API documentation.

For example, we have a sample playlist in our gallery. The ID of this playlist id 28. Therefore, to generate the Media RSS feed for this playlist, we use the following URL:

http://hwdmediashare.co.uk/index.php?option=com_hwdmediashare&view=media&format=feed&type=mrss&filter.playlist_id=28

Use the JWPlayer content plugin to embed your RSS playlist

Now we can use the HWD JWPlayer content plugin to show the RSS playlist. If you haven't already, you'll need to download and install the JWPlayer content plugin.

Download Documentation

The content plugin can be used to insert the JWPlayer into your Joomla content, and supports various media types such as single videos, audio, and playlists. If you are unfamiliar with the use of the content plugin please review the documentation above first.

To insert our playlist, we use:

provider=playlist

and:

file=http://hwdmediashare.co.uk/index.php?option=com_hwdmediashare&view=media&format=feed&type=mrss&filter.playlist_id=2

The full working code for the working example above is:

{hwdjwplayer provider=playlist,file=http://hwdmediashare.co.uk/index.php?option=com_hwdmediashare&view=media&format=feed&type=mrss&filter.playlist_id=28,width=870,align=left}

It works for other things too!

You can use this method to insert a playlist of other collections in your gallery. For example, you could show:

  • media from an album
  • media from a group
  • Media uploaded by a specific user
  • Popular media
  • Most liked media
  • Media being watched

You just need to construct your Media RSS feed using the API query parameters.