Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / October 2005

Tip: Looking for answers? Try searching our database.

Why do wav files work in background sound, but midi files don't?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Geoffrey - 05 Oct 2005 08:49 GMT
Using webpage properties in Publisher2000, wav files are audible by visitors
but mid files are not. Only I can hear them. While the tag <bgsound
src="xyz.wav> seems to work perfectly, <bgsound src="xyz.mid"> fails.

Perhaps, in the case of midi files they should be placed in a separate
folder on the site and called out by a link in the "Head" segment, i.e not
using webpage properties, but adding the <bgsound src="music/xyz.mid"
autostart> tag manually.

Does anyone know?

I'll try this anyway.
Signature

SPQR

David Bartosik - 05 Oct 2005 20:39 GMT
IE may only support a wav file. You can probably google on the bgsound tag. I
myself don't follow media support because I don't use media.
Publisher does not expose the head section, all code fragments are in the
body.
Signature

David Bartosik - [MSFT MVP]
http://www.publishermvps.com
http://www.davidbartosik.com

> Using webpage properties in Publisher2000, wav files are audible by visitors
> but mid files are not. Only I can hear them. While the tag <bgsound
[quoted text clipped - 8 lines]
>
> I'll try this anyway.
Geoffrey - 06 Oct 2005 14:37 GMT
Thanks for your reply Dave,
I know Publisher puts code fragments in the body only; that's why I do a lot
of post scripting in the HTML document after Publisher has "saved as
webpage". I just run the HTML page and perform changes in the notepad file
and save. You know... when the page is running on the local browser, click on
"view", then click on "source" and add or amend script then "File save".

I.E. supports almost everything. I think my problem is possibly that a
script must be added to activate the CODEC that supports MIDI files. I'm
still searching for an answer.
Signature

SPQR

> IE may only support a wav file. You can probably google on the bgsound tag. I
> myself don't follow media support because I don't use media.
[quoted text clipped - 13 lines]
> >
> > I'll try this anyway.
DavidF - 06 Oct 2005 15:10 GMT
Perhaps you could consider converting your file to a format that is
supported in Publisher. That way you won't have to edit your code every time
you make a change on that page, assuming that you ever do figure out how to
use a midi file.

And, FWIW, consider NOT using any background sound. I have read that as many
as 9 out of 10 people will not linger on a page with muzac in the
background. Why take the chance of alienating people once you actually get
them to your site?

DavidF

> Thanks for your reply Dave,
> I know Publisher puts code fragments in the body only; that's why I do a lot
[quoted text clipped - 32 lines]
> > > --
> > > SPQR
Geoffrey - 06 Oct 2005 16:07 GMT
Thanks for your advice DaveF.
1.- I use music because I'm testing a website I designed for a guy who runs
a Karaoke business. Music makes sense in this case.

2.- I finally figured what the problem is. The server hosting my test site
is not configured for MIME/x-MIDI !!! That's all the trouble was. Once the
pages are installed on a commercial server and the Service provider notified
that that Midi music is to be played, there'll be no problem.

Phewwww!!! what a relief. It was driving me mad for the last couple of days.
Signature

SPQR

> Perhaps you could consider converting your file to a format that is
> supported in Publisher. That way you won't have to edit your code every time
[quoted text clipped - 50 lines]
> > > > --
> > > > SPQR
DavidF - 06 Oct 2005 16:11 GMT
Geoffrey,

Thanks for the feedback...yes, I agree that in this case it does make sense.
Glad you figured it out.

DavidF

> Thanks for your advice DaveF.
> 1.- I use music because I'm testing a website I designed for a guy who runs
[quoted text clipped - 63 lines]
> > > > > --
> > > > > SPQR
Geoffrey - 06 Oct 2005 16:31 GMT
DaveF,

One final tip: post-scripting is not a problem if you keep the permanent
post-scripts in a Word file and copy and paste after every alteration to the
site.

It doesn't get any better ...hehehe.
Cheers
Signature

SPQR

> Geoffrey,
>
[quoted text clipped - 90 lines]
> > > > > > --
> > > > > > SPQR
DavidF - 06 Oct 2005 18:14 GMT
Geoffrey,

Point taken, but I keep mine in notepad files. However, I generally have
researched alternatives, such as JavaScript, that I can use with the insert
HTML code fragment feature. I don't have to remember to make the edit when I
change the page, I tend to get lost when I am looking at the source code,
and I find it easier to edit from the code fragment box when I do want to
change something. And FWIW using Pub 2000 I have found that many of the free
JavaScripts that are available that say they must be in the head section
actually work by just inserting them into the body from the Pub file.
There's many ways to skin a cat they say, and I am certainly no
expert....cheers back at ya...DavidF

> DaveF,
>
[quoted text clipped - 101 lines]
> > > > > > > --
> > > > > > > SPQR
Geoffrey - 07 Oct 2005 06:47 GMT
Good on you DavidF,

"many of the free
> JavaScripts that are available that say they must be in the head section
> actually work by just inserting them into the body"

Crikey, now here's something I've never tried. But thanks for the tip, mate,
I shall have a go at it.
Thanks
Signature

SPQR

> Geoffrey,
>
[quoted text clipped - 131 lines]
> > > > > > > > --
> > > > > > > > SPQR
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.