PDA

View Full Version : Is there a way to automatically mute the sound for an embedded object (internet game)


Prelate Zeratua
09-16-2006, 11:43 PM
I'm embedding an internet game onto my web page, as well as a music video that automatically starts. The problem is, they both load at the same time, and this game also plays a song for about 20 seconds as the same time as the video, and then after that, it makes this annoying buzzing noise indefinitely. This game essentially ruins the video. Is there any code I can put it that makes the web page automatically load the game without sound? I don't know much about HTML, but I presume this code would have to turn the sound port off that cotrols this embedded object? Is there a way to do this?

I hope I clearly explained my problem. I haven't gotten any responses on other message boards, so I'm hoping someone here can at least tell me they don't know how to help me.

Pegasus
09-17-2006, 01:32 AM
You can't turn the sound off with HTML or any other web coding that I know of. The only way you can do that is to muck about with the game programme, but I wouldn't advise that.

Why don't you just put the game on another page?

Peg

-i-dont-know-
09-17-2006, 02:19 AM
Is it a flash game? I'm assuming that you could use a Flash Decompiler on it and delete the music from it, but you'd need to have Flash and permission from the author. I have never used a decompiler before though, so there may be some flaw in my logic.

Prelate Zeratua
09-17-2006, 02:24 AM
It's hard to explain...point is, I need it on the same page.

Anyway, as I said, I don't know much about HTML/computer programming and that stuff, so just to make sure, when you say "muck about with the game programme", you mean actually alter the game itself so that it doesn't have sound? I'm embedding the game from addictinggames.com, so obviously, I can't change the game they have on their site.

So then, if I can't do this, there's nothing I can do to fix this issue? :(

Also, it's worth nothing that inside the actual game, there is a way to manually turn the sound off in the settings, so then, would it be possible to put something in the code that automatically loads the game with this particular setting?

Edit: Is it a flash game? I'm assuming that you could use a Flash Decompiler on it and delete the music from it, but you'd need to have Flash and permission from the author. I have never used a decompiler before though, so there may be some flaw in my logic.

Yeah, it is a Flash game. Of course, I probably won't be able to get Flash Decompiler, learn how to use Flash, and contact the author of the game (since it's fromaddictinggames.com), but thanks for the idea.

-i-dont-know-
09-17-2006, 02:30 AM
Can't you download the game from addictinggames do the modifcation required and the re-host it on your site?

Prelate Zeratua
09-17-2006, 02:38 AM
That's one idea, but I'm not sure I'd be able to make the modification, since I'm a total n00b at this stuff. :D If I did decide to do that, I would have to learn all about Flash and computer programming, which I might eventually do, considering my growing interest in computer-type stuff. ;) Anyway, I was looking for a way to turn the sound off with the code itself. Again, since there is a way to manually turn the sound off in the game, there isn't any way I could tell the web browser to automatically load the game with that setting?

-i-dont-know-
09-17-2006, 08:11 AM
No, you need to do it in the flash.

Prelate Zeratua
09-21-2006, 06:24 PM
Alright, thanks for the information guys. :)

-i-dont-know-
09-22-2006, 12:55 AM
Ok, No problem :D