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
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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.