<!DOCTYPE HTML><HTMLLang= "en"><Head> <MetaCharSet= "UTF-8"> <title>Play mp3</title></Head><Body> <ahref= "javascript:;"onclick= "Mp3.asplay_top (' Http://saas.eshuike.com/etaxer/ENTYPATH/files/enty/EF20140819830355847774.mp3 ')">mp3</a></Body></HTML><Script>varmp3={old:NULL, Getflashobject_top:function(moviename) {if(Window.document[moviename]) {returnWindow.document[moviename]}if(Navigator.appName.indexOf ("Microsoft Internet") == -1) { if(Document.embeds&&Document.embeds[moviename])returnDocument.embeds[moviename]}Else { returndocument.getElementById (Moviename)}}, Dispcofirm:function(){ varConfirmflag=Confirm ("you do not have the Flash playback plugin installed, so you cannot pronounce it, please install it first! "); if(confirmflag) {varURL= 'Http://www.adobe.com/go/getflashplayer'; varwo=window.open (); SetTimeout (function() { if(wo) wo.location=URL}, -)}}, Asplay_top:function(c) {varAudio=Document.createelement ("Audio"); if(Audio!= NULL &&Audio.canplaytype&&Audio.canplaytype ("Audio/mpeg")) { if ( This. Old) This. Old.pause () audio.src=C; This. Old=Audio; Audio.play ()}Else { varAsound= This. Getflashobject_top ("Asound_top"); if(asound) {Try{asound. SetVariable ("F", c); Asound. Gotoframe (1) } Catch(e) { This. Dispcofirm ()}} } }}</Script>
Play MP3 on a webpage