2.4.0 • Published 1 year ago

fraudio v2.4.0

Weekly downloads
2
License
MIT
Repository
-
Last release
1 year ago

fraudio Donate NPM version NPM total downloads GitHub

jQuery Audio Player - simple styling and simple to use

fraudio player

Installation (npm)

  • npm i fraudio

Usage

  1. Include jquery, fraudio.js and fraudio.css on your page
  2. Use the fraudio class and the data-title & data-artist attributes on an audio element:
<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_autoplay setting:
$.fn.fraudio.sequential_autoplay = true;

Extending & Debugging

  • Download the code with git clone https://github.com/freddyouellette/fraudio
  • run npm run build in the base directory to compile dist/ files. Run npm run watch to 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

Donate

Bitcoin: bc1qs39glh9cwsef0qv40dny6ajnweqe2le7ynfgr2

Ethereum: 0x5Baba8708b8676afBFF2974b4af4894Fc12aE242

2.4.0

1 year ago

2.3.2

1 year ago

2.3.1

1 year ago

2.3.0

2 years ago

2.2.1

2 years ago

2.1.1

2 years ago

2.2.2

2 years ago

2.1.0

2 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.1

3 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago