embed
This code is a customized copy of http://snippets.wikidot.com/code:mp3
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>embed Player</title> </head> <body style="border:0;margin:0;padding:0"> <script language="JavaScript" type="text/javascript"> var url_params = /^#([^#]*)$/; var match = url_params.exec(unescape(window.location.hash)); if (match) { document.write('<object height="100%" width="100%">'); document.write('<param name="movie" value="' + match[1] + '"></param>'); document.write('<param name="allowFullScreen" value="true"></param>'); document.write('<param name="allowscriptaccess" value="never"></param>'); document.write('<param name="wmode" value="transparent"></param>'); document.write('<embed src="' + match[1] + '" '); document.write('type="application/x-shockwave-flash" '); document.write('allowscriptaccess="never" '); document.write('allowfullscreen="true" '); document.write('wmode="transparent" '); document.write('width="100%" height="100%">'); document.write('</embed>'); document.write('<noembed>'); document.write('<i>Flash has been disabled, or is not installed. This embed player requires <a target="_blank" href="http://get.adobe.com/flashplayer/">Flash</a> to function.</i>'); document.write('</noembed>'); document.write('</object>'); } else document.write('<i>Invalid URL syntax</i>'); </script> <noscript> <i>Your Javascript has been disabled. This embed player requires Javascript to function.</i> </noscript> </body> </html>
page revision: 7, last edited: 10 Mar 2016 23:44