I have a 5 second piece of sound which I want to play when my website loads, can I do this without Flash?
I have a 5 second piece of sound which I want to play when my website loads, can I do this without Flash?
...to the head section of your page.HTML Code:<bgsound src="src">
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
Will it just load? Do I need to do any kind or pre loading?Originally Posted by tech_support
Yep.Will it just load?
Nope.Do I need to do any kind or pre loading?
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
Cool! Also what filetype I have all three... wav, mp3, aifOriginally Posted by tech_support
Only wav.
For all other file types, you'll need to embed. Here's the code:
HTML Code:<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer"> <param name="URL" value="source here"> <param name="rate" value="1"> <param name="balance" value="0"> <param name="currentPosition" value="0"> <param name="defaultFrame" value> <param name="playCount" value="1"> <param name="autoStart" value="-1"> <param name="currentMarker" value="0"> <param name="invokeURLs" value="-1"> <param name="baseURL" value> <param name="volume" value="50"> <param name="mute" value="0"> <param name="uiMode" value="invisible"> <param name="stretchToFit" value="0"> <param name="windowlessVideo" value="0"> <param name="enabled" value="-1"> <param name="enableContextMenu" value="-1"> <param name="fullScreen" value="0"> <param name="SAMIStyle" value> <param name="SAMILang" value> <param name="SAMIFilename" value> <param name="captioningID" value> <param name="enableErrorDialogs" value="0"> </object>
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
Hmm doesn't play in Safari any ideas?Originally Posted by tech_support
windows media player won't work for mac/linux.
I don't think wmp is for linux... correct me if I'm wrong.
you can install it for mac, but it's hard to find and most (almost all) mac users don't have it.
Quicktime is more standard, and usually on most PCs, comes standard with mac and available for linux.
However, that is mac proprietary, so while better, not perfect.
I guess I've just narrowed it down to there not being a very compatible solution. Heh. Oops
(But it's true....)
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
You'll need Windows Media Player to play it. I'm assuming your on a Mac right?
Then install the Windows Media Player for Mac.
(Sorry, replied at the same time djr33!)
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
But when I test it in Internet Explorer on the Mac it plays... Can I make it an mp3 then so it will play on everones compuetr?Originally Posted by djr33
Bookmarks