ohdang888 Posted March 24, 2008 Share Posted March 24, 2008 Does anyone know how to mute the page??? And i'm not talking about turn off the speakers... I'm talking about a button they can press that suppresses all audio from that page. Quote Link to comment https://forums.phpfreaks.com/topic/97636-mute-a-page/ Share on other sites More sharing options...
slushpuppie Posted March 24, 2008 Share Posted March 24, 2008 is this really a php issue? what kind of audio are you talking about? flash player or something else?? i made pages using a little flash player which had a value called "autostart"... what i did was create a php session variable called autostart which i could set to on or off, then when i was calling the object i changed the parameters based on the session variable... Quote Link to comment https://forums.phpfreaks.com/topic/97636-mute-a-page/#findComment-499565 Share on other sites More sharing options...
MadTechie Posted March 24, 2008 Share Posted March 24, 2008 this isn't php now is it! ? i don't think their is a mute all! each has their own, JS can mute js, Flash can mute its own flash etc Quote Link to comment https://forums.phpfreaks.com/topic/97636-mute-a-page/#findComment-499566 Share on other sites More sharing options...
wildteen88 Posted March 24, 2008 Share Posted March 24, 2008 I'd guess that will require javascript. However it depends on where the sound is coming from. If its a flash object then you'll have to add the mute button into the flash movie. If you're embedding a mediaplayer object into the page then I think you can control the volume via javascript. Quote Link to comment https://forums.phpfreaks.com/topic/97636-mute-a-page/#findComment-499567 Share on other sites More sharing options...
ohdang888 Posted March 24, 2008 Author Share Posted March 24, 2008 oh ok. Sorry. Quote Link to comment https://forums.phpfreaks.com/topic/97636-mute-a-page/#findComment-499570 Share on other sites More sharing options...
haku Posted March 25, 2008 Share Posted March 25, 2008 The sound itself should not be set to auto play, but rather require the click of a button. Nothing more annoying than a page that starts blasting you with sounds and music when you don't want it - especially if it takes a few seconds before you can stop it. Quote Link to comment https://forums.phpfreaks.com/topic/97636-mute-a-page/#findComment-500111 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.