zPlayer 2.00rc1
Jadefusion - 18 May 2021
A media streaming plugin for CMSimple-XH.
Stream mp3 audio files and mp4 video files with ease with zPlayer 2. zPlayer utilises the relatively old Version 6 Free Edition of the JW Player.
Note: For non-commercial use only. See licence.
Download and install the zPlayer plugin.
Create a folder on your web-server to hold your playlists and your play icons.
Note: The most convenient place to create the folder is in the "userfiles" folder, either in a new folder there or in a folder created in the "media" folder.
If your media files are to be stored locally on your website upload them.
Create your playlists and put them in your "playlists" folder.
Embed the zplayer plugin function into a web page.
To listen/view a media file an instance of zPlayer must be embedded in a page.
To embed the audio player... in source view add the plugin function to your page using code similar to that shown directly below...
<div>{{{plugin:mp_audio('playlist-name');}}}</div>
To embed the video player... in source view add the plugin function to your page using code similar to that shown directly below...
<div>{{{plugin:mp_video('playlist-name');}}}</div>
You replace 'playlist-name' with the name of your own playlist. Note that the playlists used are .rss files and the playlist name is entered without the .rss extension on the end.
The plugin configuration parameters are fairly self explanatory and should not pose a problem.
<rss version="2.0" xmlns:jwplayer="http://rss.jwplayer.com/">
<channel>
<item>
<title>Media Title 1</title>
<description>Media Description 1</description>
<jwplayer:image>http://yourdomain.ext/userfiles/your-play-icon.jpg</jwplayer:image>
<jwplayer:source file="http://yourdomain.ext/play/your-media-file-1.mp4" />
</item>
<item>
<title>Media Title 2</title>
<description>Media Description 2</description>
<jwplayer:image>http://yourdomain.ext/userfiles/your-play-icon.jpg</jwplayer:image>
<jwplayer:source file="http://yourdomain.ext/play/your-media-file-2.mp4" />
</item>
<item>
<title>Media Title 3</title>
<description>Media Description 3</description>
<jwplayer:image>http://yourdomain.ext/userfiles/your-play-icon.jpg</jwplayer:image>
<jwplayer:source file="http://yourdomain.ext/play/your-media-file-3.mp4" />
</item>
</channel>
</rss>
Permission is hereby granted, to use this software, free of charge, subject to the following conditions...
The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement.
In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
JW Player Free Licence
Licensed under... Creative Commons
You can use, modify and redistribute the player for non-commercial purposes only.
JW Player 6 Free Edition - https://jwplayer.com/