»
EnglishFrenchVietnamese

Print - Play Midi in BackGround - JavaScriptBank.com

Full version: jsB@nk » Multimedia » Sound » Play Midi in BackGround
URL: http://www.javascriptbank.com/play-midi-in-background.html

Play Midi in BackGround © JavaScriptBank.comThis JavaScript plays a midi sound clip in the background. Depending on your browser, it uses a different method to play the midi file: 1. For MS IE, it uses the BGSOUND tag 2. For other browsers, it uses the EMBED tag which is commonly used for plugins.

Full version: jsB@nk » Multimedia » Sound » Play Midi in BackGround
URL: http://www.javascriptbank.com/play-midi-in-background.html



HTML
<script><!--//specify FULL path to midivar musicsrc="5onit.mid"if (navigator.appName=="Microsoft Internet Explorer")document.write('<bgsound src='+'"'+musicsrc+'"'+' loop="infinite">')else document.write('<embed src=\"'+musicsrc+'\" hidden="true" border="0" width="20" height="20" autostart="true" loop="true">')//--></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->