Sound In Xhtml Pages

Started on the old forum in March 2008 · view the original in the archive · old links redirect here

6 replies · 887 views · started 18 years ago · 1 min read

6 participants
blackhowk Senior · 411 posts #1

the script are xhtml valid, edit audio type (extension) if you want to change the audio

**<object id="obj1" type="audio/x-ms-wma" standby="Loading Audio" data="resources/audio/sc1.4.4_l3_004.wma">

<param name="src" value="resources/audio/sc1.4.4_l3_004.wma" valuetype="data" /> <param name="autostart" value="true" valuetype="data" /> <param name="loop" value="true" valuetype="data" /> <param name="uiMode" value="none" /> </object>**

you may include in popups, new inbox, alerts, special events, etc - this is supported only by some phones.

alesh Lead · 604 posts #2

Works on my n80, but not on opera 9.26 lol strange.... btw where 2 put tht code? I put it b4 nd after the <body> nd both works lol....

eeeeerrr....

crazybrumi Super moderator Principal · 1,064 posts #4

omd @ the sound yeh but that no good as in your case yu have actions and everytime yu go to a new action it starts over agen it ill be same with going to different pages it will have to start again

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

GiLL Senior · 356 posts #6

randomly selects a sound file to play for the BGSOUND tag

<?php
$array = array("sound_1.wav",
"sound_2.wav",
"sound_3.wav");
$n = rand (0, 2);
$sound_file = $array[$n];
echo "<bgsound src=\"$sound_file\">\n"
?>

left wap stuff

subzero Super moderator Fellow · 3,954 posts #7
<object type="application/x-wav" 
           data=" [ Your Sound File Url ] " 
           style="height: 0; visibility: hidden;"> 

Your Broswer Dont Support Sounds! [url="http://www.opera.com"]Opera Broswer Is Best To Use[/url]</p>
</object>

i use this one alot in xhtml as far i.e will not pick up all sounds and not running xhtml right

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close