The actual HTML used is:
<object type="application/x-mplayer2" height="0" width="0">
<param name="fileName" value="sound.wav">
<param name="autostart" value="1">
<param name="playcount" value="1">
</object>
Not sure why this works on other browsers but it's very old school style
of embedding a sound. Today we would just use
<audio src="sound.wav">
The issue in the object stuff above might be that the height and width
are set to 0 so Safari ignores it.
CB
On 6/30/13 1:19 PM, Chris Gilland wrote:
There is a web site which many of you might know about. It's kind of
old, but for its purpose, it's kind a cool.
http://www.whitestick.co.uk
Here's the question that I have. The guy who designed this page has
embedded some html in the source code which allows a wave file to play
when the page is loaded. Before you ask, no, it's not flash. It's just
a standard wave file, nothing fancy that he has set as the background
sound. The way he does this is kind of scrooie and I'm not sure I
totally remember the code he used, but even on web sites which use
more the html standard like
<BGSOUND="path to file">
or
<EMBED SRC="Path to file">
Even those web sites are not correctly playing the audio when they are
opened.
OK, on the Windows side of things, it pops up the information bar, and
I have to hit alt+N, then tell it to run add-on. Granted, I dono where
I E thinks it's an add-on, but then IE's stupid in many ways. LOL!
Even with Firefox on the Mac, which is not very usable in my view at
least, or heck, even Google Chrome. I've not been able to make this
work on the Mac. I have even tried both Lightning web browser, and
even the most up to date nightly of Web Kit, with no good.
I've looked through every possible setting in Safari that I know there
is to look at with no luck.
I'm starting to honestly wonder if this may actually be a preference
not in Safari but somewhere within Quicktime or the like.
I thought maybe I needed a Safari plugin to make this work, but no
searches are showing anything useful.
I'm just wonderring if anyone knows what I need to do to make this
work correctly.
Chris.
--
¯\_(ツ)_/¯
--
You received this message because you are subscribed to the Google Groups
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/groups/opt_out.