Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Playing audio file in web page-applets?
Old 11-10-2004, 11:09 AM Playing audio file in web page-applets?
CelticX's Avatar
Junior Talker

Posts: 2
Trades: 0
How do you code your web page to play a audio file like .wma or .wav etc.?
I know you embed for flash but I haven't been able to find a similar way to do it with audio. I've seen it on many sites where it has a stop/play/pause button but am lost and burnt on searching for solutions so I humbly ask for help now. Thank you very much in advanced.
CelticX is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-10-2004, 11:28 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Simple answer, don't bother.
People hate sounds when webpages load. It's one of the main things that causes people to instantly close their browser windows before they've even read the title. I do it all the time.

The only exception to this rule is if you're providing a specialist sound site, and you want to provide 'sound bites' to your users or something. In which case it's usually better to link to the sound file and let the user play it in their preferred player.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 11-10-2004, 11:34 AM Site icon...
labintador's Avatar
Skilled Talker

Posts: 96
Trades: 0
EDITED; suppose to be a topc
labintador is offline
Reply With Quote
View Public Profile
 
Old 11-10-2004, 01:14 PM I hate that too...
CelticX's Avatar
Junior Talker

Posts: 2
Trades: 0
The sound playing in the background its verra CHEESY!

No I want to place a mp3 for people to choose to listen if they are enclined.

I just want the applet or plug in or whatever you need to place the play/stop/pause buttons so they can listen.
CelticX is offline
Reply With Quote
View Public Profile
 
Old 11-15-2004, 12:26 PM Here you go
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
Try this: (Note: You will have to change the veriables to suit your needs i.e. width="whatever" etc.) Also don't forget to change the "filename" "value" and "src" to "yourmovie.avi" not "madmax.avi"

<object id="MediaPlayer1" width="240" height="252"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
type="application/x-oleobject">
<param name="autostart" value="false">
<param name="filename" value="madmax.avi">
<param name="showcontrols" value="true">
<param name="ShowStatusBar" value="true">
<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
src="madmax.avi"
width="240"
height="252"
autostart="0"
showcontrols="1"
showstatusbar="1">
</embed>

The other easy way to do it is to add the movie to your root folder and put a link like this to it:

<p>Here's my <a href="madmax.mov">movie</a>. You can also add this to an image or screen shot of the movie playing to make it more interesting than just a text link.

That way people can click it if they like or not.

Hope this helps!

Kaiman

Last edited by Kaiman; 11-15-2004 at 12:36 PM..
Kaiman is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Playing audio file in web page-applets?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43745 seconds with 12 queries