Getting Started


JS Version

Include the clean-html-player.js and clean-html-player.css files to head.

<link rel="stylesheet" href="path/to/clean-html-player.css">
<script src="path/to/clean-html-player.js"></script>

Wordpress Version

Upload zip archive with the Wordpress plugin to the plugins manager or upload unzipped folder to /wp-content/plugins/ and activate it in plugins manager.


Add code below to the page. Audio and Video tags should be wrapped in tag with cleanPlayer class for auto initialisation. Now your player is ready to go!

For configuration see Configuration section.


Video with Playlist
<div class="cleanPlayer" boxshadow borderradius>
<video title="Duke Dumont - Ocean Drive" descr="YouTube Source" controls download>
<source provider="youtube" src="" />
<video title="Quality Settings & Captions Demo" descr="Mp4" poster="">
<source type="video/mp4" src="" />
<track label="Fran├žais" srclang="fr" src="" />
Solo Audio with Dark Theme
<div class="cleanPlayer" theme="dark" borderradius>
<audio title="Shoutcast: 1.FM - 80s EURO" descr="Streaming Audio">
<source type="audio/mp3" src=";" />

In Wordpress use page editor in source mode

Alternative JS Initialisation (Optional)

For additional information see Configuration section.