Table des matières

samedi 1 mai 2010

Testing 1Bit Audio Player

1Bit Audio Player

Original informations, 1Bit Audio Player Site

The script to add into the page


<script type="text/javascript" src="http://sites.google.com/site/annuairevin/files/swfobject.js"></script>
<script type="text/javascript" src="http://sites.google.com/site/annuairevin/files/1bit.js"></script>




Script to call the player, defining the options


<script type="text/javascript">
oneBit = new OneBit('"http://sites.google.com/site/annuairevin/files/1bit.swf');
oneBit.ready(function() {
oneBit.specify('background', 'ffffff');
oneBit.specify('color', 'cc0000');
oneBit.specify('playerSize', '10');
oneBit.specify('position', 'after');
oneBit.specify('analytics', true);
oneBit.apply('a');
});
</script>




The Result

Carmina Burana

Bach Gloria Patri

We can use Google Sites to host the various files (js, swf and mp3).

More tips for Blogger : Le Blog de Prac

Aucun commentaire:

Une erreur est survenue dans ce gadget