Skip to content

Instantly share code, notes, and snippets.

@Said210
Created September 7, 2016 16:35
Show Gist options
  • Save Said210/7d144c64b74ac2c8d4cb85f23d63dd05 to your computer and use it in GitHub Desktop.
Save Said210/7d144c64b74ac2c8d4cb85f23d63dd05 to your computer and use it in GitHub Desktop.
/*
* GET FREE INDIE MUSIC WITH EMERGENTE FM
* TRY emergente.play(572)
*/
var emergente = {
template: "http://admin.emergente.fm/uploads/song/%/mp3_high.mp3",
set: function(i){
return emergente.template.replace("%",i);
},
play: function(id){
window.open(
emergente.set(id),
'popUpWindow',
'height=200,width=200,left=0,top=0,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=no'
).focus();
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment