Solved

A Mute Page

Posted on 2004-04-17
3
518 Views
Last Modified: 2012-08-14
Hello,

We have a page that we will be using to host a Flash game.  Basically we cut and paste a javascript link and clicking the link loads the game from the provider's server, and then the game runs in our page.  Here's the rub.  Some of the games have no option to disable their sound. Is there anything we can include in our HTML page that will cause it to run mute/no sound at all?  Or, any other workaround greatly appreciated.

Many thanks,

Yunkaa
0
Comment
Question by:yunkaa
3 Comments
 
LVL 4

Expert Comment

by:BrianPap22
ID: 10851082
I do not believe there exists a workaround you can implement into your page.  Even if there is one, it would not be reliable enough to matter.

I don't know anything about coding Flash, but maybe if you created your own Flash animation that did nothing, and played "silent sound", it might force it to play the sound from the second Flash, which emits no real sound.  Just a shot in the dark, though.
0
 
LVL 1

Expert Comment

by:jms1492
ID: 10854409
That wouldn't work.

You could try using javascript to set the volume property/function on the page the Flash loads into. That *should* produce the desired result on java enabled browsers.  

The volume is set differently for IE and Navigator, so you'll have to write for both.
0
 
LVL 8

Accepted Solution

by:
a_twixt_in_the_tale earned 500 total points
ID: 10878547
Create an audio file that has no sound, mute, nothing (... u get the pt rite?)
say mute.wav

in ur html use
<bgsound src="audio/mute.wav" loop=infinite>

which is supposed to play that countinuously thereby disabling any other music (hopefully....)
it works for IE only though.

For netscape u need to use <embed> tag or sumtin
i hvn't tried this though (no snd card)

:)
Don
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
create wsdl for check policy price 32 35
WSDL Soap Error 12 281
RSS Feed Validation 2 69
How to link a specific Wordpress Post directly to the main domain (no category!) 12 99
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question