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. 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... 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 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. 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. 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. Link to comment https://forums.phpfreaks.com/topic/97636-mute-a-page/#findComment-500111 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.