Pow! is an angular directive audio player for POST requested audio.
It helps you play audio that has been returned from a POST request or any source of an audioBuffer.
bower install pow
The pow
directive takes one attribute, array-buffer
, which is set to an
arrayBuffer representing the audio.
<!-- in your view -->
<pow playernumber="0" data-array-buffer="data.arrayBuffer"></pow>
npm install
npm run demo
This is very much a work in progress
To modify player.html
:
- Make changes you desire
- Use inline-css to inline the css
- Copy the css-inlined HTML (only the div in the inline-css output, not the style tag)
- Use HTML minify to minify the copied HTML
- Copy the minified CSS into
app.module.js
in place of the existing HTML on line3
npm run dev
to test your changes (updates the demo and starts a server)npm run build
when you're done- Commit according to the contributing documentation