| | |
midi files won't play on my site
![]() |
•
•
Join Date: Feb 2007
Posts: 2
Reputation:
Solved Threads: 0
I've embedded midi files on a number of pages on one of my sites http://www.rays-sxm.net but when I want to open one of these pages I get a Windows IE info message:
Click to run an ActiveX control on this webpage
I click on OK and nothing happens.
The message disappears, I can access the page but no background music.
An embedded MP3 file plays OK, though.
HELP,
Ray
Click to run an ActiveX control on this webpage
I click on OK and nothing happens.

The message disappears, I can access the page but no background music.
An embedded MP3 file plays OK, though.
HELP,
Ray
Last edited by Ray von Kiel; Feb 26th, 2007 at 11:49 pm. Reason: wanted to add something
Ok Ray, I've found the solution to your problem.
Your problem isn't your browser, it's the source code in the page itself. I was viewing the source on your webpage and the backround midi is set to src="/il2/sxm/midis/peanut10.mid" The way your page is setup, it looks like your url http://www.rays-sxm.net forwards to an angelfire member page. When loading your webpage's main page(http://www.rays-sxm.net) its trying to find the midi file in the directory http://www.rays-sxm.net/il2/sxm/midis/peanut10.mid This does not exist because when you use a URL forwarder, it ONLY forwards the url to one file, which in this case is your homepage. The solution to your problem is this: set the url for the source of the midi file on (http://www.angelfire.com/il2/sxm/index.html) to src="http://www.angelfire.com/il2/sxm/midis/peanut10.mid" That will fix the problem and will allow your midi file to be accessed. The reason the active x control comes up anyway is because the source code "<embed" tells internet explorer to open up an object so it can play the file.
Check the source on all your other pages that contain midis and make sure they all point to "http://www.angelfire.com/il2/sxm/midis/" instead of "/il2/sxm/midis/peanut10.mid"
let me know how it goes.
Your problem isn't your browser, it's the source code in the page itself. I was viewing the source on your webpage and the backround midi is set to src="/il2/sxm/midis/peanut10.mid" The way your page is setup, it looks like your url http://www.rays-sxm.net forwards to an angelfire member page. When loading your webpage's main page(http://www.rays-sxm.net) its trying to find the midi file in the directory http://www.rays-sxm.net/il2/sxm/midis/peanut10.mid This does not exist because when you use a URL forwarder, it ONLY forwards the url to one file, which in this case is your homepage. The solution to your problem is this: set the url for the source of the midi file on (http://www.angelfire.com/il2/sxm/index.html) to src="http://www.angelfire.com/il2/sxm/midis/peanut10.mid" That will fix the problem and will allow your midi file to be accessed. The reason the active x control comes up anyway is because the source code "<embed" tells internet explorer to open up an object so it can play the file.
Check the source on all your other pages that contain midis and make sure they all point to "http://www.angelfire.com/il2/sxm/midis/" instead of "/il2/sxm/midis/peanut10.mid"
let me know how it goes.
Last edited by Monte; Feb 27th, 2007 at 2:32 pm.
Microsoft Certified Desktop Support Technician
DTS Medical Webmaster + Network Administrator
Extended64.com
DTS Medical Webmaster + Network Administrator
Extended64.com
•
•
Join Date: Feb 2007
Posts: 2
Reputation:
Solved Threads: 0
Thanx Monte,
but that didn't work. The midis have played on my laptop w/o the http://www.angelfire.com preceding on the index.html page.
I don't have QuickTime on the desktop but have it on my laptop where it plays the midi files.
Ray
but that didn't work. The midis have played on my laptop w/o the http://www.angelfire.com preceding on the index.html page.
I don't have QuickTime on the desktop but have it on my laptop where it plays the midi files.
Ray
Maybe you have to be registered or logged in to their service to be allowed to play the file.
Also, for a MIDI file, the soundcard must have a sounder included. The sounder driver must be installed and enabled, and the browser must be told which driver to use. If any of these are missing, you won't hear anything.
Be aware that each computer will play the MIDI file differently, using the sound samples that came with the soundcard. So what sounds good on one computer can sound quite awful on another. Note that not all soundcards can download samples.
I ran into this problem when I composed a piece using the synth drum sound. One of my soundcards has a 12-note-per-octave (chromatic) scale of synth drum sounds, and the song sounded good. The other one has a 24-note-per-octave (quaretertone) scale for the synth drums, and it sounds awful. I had to change it to steel drums to get it to play universally.
Also, for a MIDI file, the soundcard must have a sounder included. The sounder driver must be installed and enabled, and the browser must be told which driver to use. If any of these are missing, you won't hear anything.
Be aware that each computer will play the MIDI file differently, using the sound samples that came with the soundcard. So what sounds good on one computer can sound quite awful on another. Note that not all soundcards can download samples.
I ran into this problem when I composed a piece using the synth drum sound. One of my soundcards has a 12-note-per-octave (chromatic) scale of synth drum sounds, and the song sounded good. The other one has a 24-note-per-octave (quaretertone) scale for the synth drums, and it sounds awful. I had to change it to steel drums to get it to play universally.
Last edited by MidiMagic; Mar 20th, 2007 at 6:41 pm.
Daylight-saving time uses more gasoline
![]() |
Similar Threads
- Playing .Wav/MIDI files in a Visual Basic Program (Visual Basic 4 / 5 / 6)
- Re: Sound in C++ (C++)
- Cant upload dreamweaver "files folder" to site (Networking Hardware Configuration)
- Can No Longer Hear MIDI Files (Windows NT / 2000 / XP)
- Nokia 1100 (Geeks' Lounge)
Other Threads in the Web Browsers Forum
- Previous Thread: Changing browsers...protection from spyware & viruses?
- Next Thread: Geocities Won't Load
| Thread Tools | Search this Thread |
aiim2009 andrewlippmann android aol apple awesomebar background browser browserproblems browsers browsing budget bug bughunt censorship childabuse china chrome client code compuserve defect development dns email error eu europe exploit fileeditmissing firefox flash gecko google government history ie7 ie8 internet internet.broadband internetexplorer internetexplorer8 internetusage iphone leak linux malware marshallmcluhan media memory microsoft mitmedialab mobile mobilebrowsers mosaic mozilla music netscape networking news newspapers newyork offline olympics onlinecommunities opera opera.software patch plugins porn privacy safari save seamonkey security server sex silverlight software survey surveys teenagers television testing thunderbird twitter u.s. usenet users utest video web webbrowser webdevelopment webusage wikipedia windowslivemail worldrecord worldwideweb xp






