/hymn

React audio player component

Primary LanguageJavaScriptMIT LicenseMIT

hymn NPM version Downloads Support us

Information

Packagehymn
Description React audio player component
Browser Version >= IE9

This is a work in progress. Follow @contrahacks or @wearefractal for an update when it is finished.

Usage

var player = require('hymn');

var A = React.createClass({
  render: function(){
    return (
      <div>
        <h3>Cool Song</h3>
        <player src='file.mp3' title='Cool Song' album='Cool Songs' artist='Mr Cool Song' artwork='coolsong.jpg'/>
      </div>
    );
  }
});

Browser Support

Out of the box

Chrome 3
Firefox (Gecko) 3.5
Internet Explorer 9
Opera 10.5
Safari 3.1