Help - Search - Members - Calendar
Full Version: Embedding Wav
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
xoom
Hey

I have written two lines of code at different places for embedding sound into my page

<bgsound src="notify.wav" loop="1" volume="100">

<embed hidden="true" loop="false" src="notify.wav" type="application/x-mplayer2"></embed>

Is using WAV file not allowed?

Although, i have been able to upload it using filemanager for my file with *.uuuq.com
Dave
You can check which file extension are allowed on Zymic in this thread (.wav is allowed).
zpcs
Hi xoom,
I'd like to say they're a multitude of sins regarding this, but there are probably only a couple. The following code was used in an old website of mine for midi files (with a little manipulation this may be your answer, if not it may be a start).

CODE
<script TYPE="text/javascript">

var filename="engelrammstein.mid";
if (navigator.appName == "Microsoft Internet Explorer")
    document.writeln ('<BGSOUND SRC="' + filename + '" LOOP="INFINITE" VOLUME="-800">');
else if (navigator.appName == "Netscape")
    document.writeln ('<EMBED SRC="' + filename + '" AUTOSTART=TRUE HIDDEN=TRUE LOOP=TRUE VOLUME=80><P>');

</SCRIPT>
<!-- <NOSCRIPT><BGSOUND SRC="engelrammstein.mid"></NOSCRIPT> -->


This code was written a long time ago as it appeared to me that different browsers handled things differently (of course keep in mind as well that I'm not proficient in writing web page codification(s), but I'm learning validity) and the web that this script resides in is still online until later this year.
Hope this helps you in the right direction.

zpcs
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.