An evolution to timecodehash for a enhanced audio tag
JavaScript CSS HTML Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Onde Miroir tag

Author : Xavier "dascritch" Mouton-Dubosc

Version : 0

Thank you to my lovely friends

Informations in french :


This is an hashtag extention for <audio>, derivated from timecodehash.js It could have been done via HTML templates, with a polyfill like the excellent Bosonic, but I wanted a plain vanilla, easy to install and configure.

Simply put <script src="src/ondeplayer.js"></script> in the head of your html page.

It will replace any <audio control> by an specialy crafted UI. Some attributes enhance the component :

  • title="<string>" : Name of the audio
  • poster="<url>" : Cover image
  • data-canonical="<url>" : link to the original page of the sound

The script will link automatically to the playlister in the same repertory.

Cloned player : You can invoke a cloned player by giving an id to the <audio> tag, then create an empty <div> with an data-ondeplayer= attribute, reffering to the id of the <audio> tag.



Any related source to the player is in src/ondeplayer*.js

You will need Google's Closure compiler to produce distribuable files. Use to compile/backport code to ECMA 5.

Ready to deploy files will be in dist repertory.


Copyright (C) 2014 Xavier "dascritch" Mouton-Dubosc

This software is licenced under the GNU General Purpose Licence. Use it and deploy it as you want : i've done too much closed source before.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see


  • August 2017 : 4 , i18n, modularization, clone
  • August 2015 : 3 , forking to ondemiroir-audio-tag
  • September 2014 : 2 , correcting to standard separator
  • September 2014 : 1 , public announcing
  • July 2014 : 1.a , public release
  • June 2014 : 0.2 , proof of concept
  • October 2012 : first version, trashed

Repository :

Keeping in touch :