Is this the correct script to enable background sound on a webpage?
It works both in IE and Firefox, but is there a better way?
<EMBED src="country.mi d" hidden="true" LOOP="TRUE" AUTOSTART="TRUE ">
Thank you for your assistance,
Joe
8 2912
Is this the correct script to enable background sound on a webpage?
It works both in IE and Firefox, but is there a better way?
<EMBED src="country.mi d" hidden="true" LOOP="TRUE" AUTOSTART="TRUE ">
Thank you for your assistance,
Joe
Sup Joe2Shoe, Welcome to TSDN!
Please use the proper code tags when you post code.
Well I'm not really sure, I've asked a similar question on the JavaScript forum , do to the fact that I wan't my HTML document to have only the basic structure in it, and not each page with 1000+ lines of code.( In other words anything thats not HTML is going to external documents). So if any one replies to me ( THE CLOCKS TICKING PEOPLE!!!!!! jk ) we'll both have our answers.
Thanks, Death
PS - yea using the "embed" tag should do the trick.
I forgot about this one: - <bgsound src="location" />
The only broblem with it is that it's only supported in IE ( Internet Explorer).
- Death
Death,
"Please use the proper code tags when you post code."
What's this mean?
I'm new here, and write code using notepad+.
I don't know too much.
Thanks,
Joe
Death,
You're right, that one only works in IE. I'll stick with the original one I posted, until I can find one that works mo betta.
Thanks,
Joe
Death,
Oh, now I see:
Use CODE tags around your code:
Thanks,
Joe
Death,
"Please use the proper code tags when you post code."
What's this mean?
I'm new here, and write code using notepad+.
I don't know too much.
Thanks,
Joe
Lol it meens that if your using HTML you need to highlight it and click the "<>" button, same if your using PHP, except you would click the piece of paper that says PHP, and anything else click the "#" button.
- Death
Here's a good link that has tutorials on alot of the languages.
- Death
I'm paused in a meeting but you shouldn't use <embed>. Actually, there is no such thing. Microsoft made it up years ago, most browsers work with it (sort of), but all will tell you to use the <object> element. <embed> causes too many problems.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: yawnmoth |
last post by:
i've written a php script that generates images dynamically, via the
GD library. i now want to detect whether or not the image is embedded
within a homepage, or is being viewed by itself. at first, i thought
that whether or not HTTP_SERVER_VARS was set, that it would
mean that the image was embedded, but that's not necessarily the case,
as it will also be set if it's just linked to from the webpage. so,
any ideas?
|
by: fuliopen |
last post by:
I put background sound with tag <bgsound src=''> in a page, and like to
give the visitor an option to unable it. Can this be accomplished? If
yes, what's the tag or command? Thanks.
|
by: Vanessa |
last post by:
Anyone know how to embed sound file to vb.net project, then play the sound
file?
I have searched the web for example... and download the example and when
run, it works perfectly.
But when i try to insert a sound file (.wav) to my project and set the Build
Action to "Embedded Resources". And then I use the same code as what I saw
in the example, but it gives me an error,
|
by: Sam |
last post by:
Hi all
I have a web page that allows user to referenced a stylesheet on my local
network. Is there a way to detect the background color of this webpage? If I
know the stylesheet that was used to set the background of my webpage, is
there an easy way to know the property set for the
"BACKGROUND-COLOR" of the body block
|
by: devphylosoff |
last post by:
hi folks
I am looking for a tool (script, plugin, code, ...) which can generate
background image for webpage
look at background on http://vtorrent.info/ page or on the Vista
webpage.
I want to create this in fly - only give two colours and expect result
which will be created by function.
| |
by: wstach |
last post by:
Hi,
I'm using Windows XP, IIS & ASP to develop a web service that executes
several programs (command line .exe files) on a server, shows next
webpage with info on progress in execution, and presents the results
page. Basically, on the first webpage (html) user chooses which
programs are to be executed, and then an asp script runs the programs
on the server.
The problem is that I don't know how to run these programs in
|
by: OBAFGKM_RNS |
last post by:
I am not an expert in javascript, so forgive me if all this sounds
dumb.
On my webpage, I have slot machine. I want to hear a click sound when
the wheels stop spinning. Heres how i can SORT OF do it:
in my javascript:
var sound = document.getElementById("wl1_click");sound.Play();
and in my html:
<embed id="wl1_click" src="clickb.wav" width="0" height="0"
|
by: raylopez99 |
last post by:
I have the latest version of Visual Studio 2008 Professional, which
allows you to create resource files (this is the .resx file, no?),
unlike the Express version, which does not.
I am trying to cut and paste code that MSDN recommends for playing a
simple wav file from inside an embedded file, like presumeably the
'resources' file .resx is. I want to embed the .wav file in a
'resource file' since I don't want the user storing the file on...
|
by: ventsislav |
last post by:
I want to have a background music to my simple app and a buton which plays another sound, but when I press the button the sound from it interrupts the background sound. I tried with SoundPlayer and the native PlaySound function but the results were the same. Any ideas how to have a background music and a button sound without using DirectSound? Can you provide me some snippets?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |