Signin  Pricing  Examples  Support

Libraries > audio-player.js

audio-player.js - Search Live Website Code
It's like doing CTRL+F on millions of websites' source code



NerdyData is a search engine for source code. Search the source code of 200 million websites.


JAVASCRIPT FILE http://taalblad.be/templates/default/../js/audio-player/audio-player.js

Function Explorer




Libraries on taalblad.be


ajax.js

audio-player.js

boxover.js

general.js

prototype.js

scriptaculous.js

slideshows.js

ypSlideOutMenusC.js



Explore More


jquery.cycle.all.js

jquery.easing.1.3.js

cc.js

fs.js

audio-player.js
				
var ap_audio_object = '<object type="application/x-shockwave-flash" data="%template_path%../js/audio-player/player.swf" id="audioplayer1" height="24" width="198"><param name="movie" value="%template_path%../js/audio-player/player.swf"><param name="FlashVars" value="playerID=1&amp;soundFile=%audiofile%"><param name="quality" value="high"><param name="menu" value="false"><param name="wmode" value="transparent"></object>';

var ap_instances = new Array();

function ap_stopAll(playerID) {
	for(var i = 0;i<ap_instances.length;i++) {
		try {
			if(ap_instances[i] != playerID) document.getElementById("audioplayer" + ap_instances[i].toString()).SetVariable("closePlayer", 1);
			else document.getElementById("audioplayer" + ap_instances[i].toString()).SetVariable("closePlayer", 0);
		} catch( errorObject ) {
			// stop any errors
		}
	}
}

function ap_registerPlayers() {
	var objectID;
	var objectTags = document.getElementsByTagName("object");
	for(var i=0;i<objectTags.length;i++) {
		objectID = objectTags[i].id;
		if(objectID.indexOf("audioplayer") == 0) {
			ap_instances[i] = objectID.substring(11, objectID.length);
		}
	}
}

var ap_clearID = setInterval( ap_registerPlayers, 100 );


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z