Skip to content
A simple and lightweight web-based MP3 player, auto-generated with Javascript and Flash
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.




1 Bit Audio Player is a simple way to play .mp3 links on a webpage. It uses Javascript and Flash to automatically generate play buttons for each linked MP3 file, for inline playback.

It’s no longer officially supported, this code is available for anyone to branch and make use of. God speed.

A memorial and former project homepage can be found at:


1 Bit is designed to as stand alone as possible, you do not need a Javascript framework to use it. However it does rely on some external javascript:

  • SWFObject – Used to embed the flash players into the page safely and cross browser.


1 Bit can be used by uploading the ‘example’ files to your web server and adding the following code within the <head> of your pages:

<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="1bit.js"></script>

<script type="text/javascript">
	oneBit = new OneBit('1bit.swf');
	oneBit.ready(function() {
		oneBit.specify('color', '#000000');
		oneBit.specify('background', '#FFFFFF');
		oneBit.specify('playerSize', '10');
		oneBit.specify('position', 'after');
		oneBit.specify('analytics', false);

You must then adjust the path to 1bit.swf within the line that creates a new 1 Bit object. All of the oneBit.specify lines are optional, however, oneBit.apply must be called and passed a valid CSS selector.


Q: Are there plans to resume active development?
A: No, maybe, possibly. No plans, but i’d like to work on this project some more. There just isn’t the time at the moment.

Q: Didn’t there used to be a wordpress plugin and such?
A: Yes, but it has been deprecated. There wasn’t the time to help with support questions, so it was decided to kill it rather than have an unsupported version. If you’re really fussed you can dig through the history of this repo.

The original plugin/bookmarklet code is available, if you want to help update it:

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.