Jump to content

mute a page?


ohdang888

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.