fraudio
v2.4.2
Published
Simple audio player
Readme
fraudio

jQuery Audio Player - simple styling and simple to use

Installation (npm)
npm i fraudio
Usage
- Include
jquery,fraudio.jsandfraudio.csson your page - Use the
fraudioclass and thedata-title&data-artistattributes on anaudioelement:
<audio class="fraudio"
src="/audio/Mozart_Divertimento.mp3"
data-title="Divertimento in D major K. 136 (III. Presto)"
data-artist="Wolfgang Amadeus Mozart"
></audio>- You can also turn any audio element into a fraudio element with
$(element).fraudio(); - To turn on sequential autoplay, so that each audio will automatically play one after another, change the
sequential_autoplaysetting:
$.fn.fraudio.sequential_autoplay = true;Extending & Debugging
- Download the code with
git clone https://github.com/freddyouellette/fraudio - run
npm run buildin the base directory to compiledist/files. Runnpm run watchto automatically compile as you're coding.
Problems, Questions, Suggestions?
- I encourage all issues or suggestions to be submitted through the Issues tab on GitHub.
- Pull requests are welcome.
Links
Support Me
Bitcoin: bc1qs39glh9cwsef0qv40dny6ajnweqe2le7ynfgr2
Ethereum: 0x5Baba8708b8676afBFF2974b4af4894Fc12aE242
