Questions tagged [mute]

310 questions
60
votes
3 answers

How to mute an html5 video player using jQuery

I've found how to pause and play the video using jquery $("video").get(0).play(); $("video").get(0).pause(); But I can't find the mute button, if there isn't a jquery solution, I'm fine with just an onclick js solution. I need it asap.Also is there…
Cody
  • 1,281
  • 2
  • 10
  • 12
34
votes
12 answers

Muting an embedded vimeo video

On a website I am building I have a vimeo video embedded. The client needs to keep the sound on the video obviously for people that find it on vimeo. However for her website the sound is just plain annoying. So I need to find a way to mute the audio…
DanielNolan
  • 721
  • 3
  • 10
  • 18
30
votes
12 answers

How can I mute/unmute my sound from PowerShell

Trying to write a PowerShell cmdlet that will mute the sound at start, unless already muted, and un-mute it at the end (only if it wasn't muted to begin with). Couldn't find any PoweShell or WMI object I could use. I was toying with using Win32…
Traveling Tech Guy
  • 27,194
  • 23
  • 111
  • 159
30
votes
1 answer

Video mute/unmute with jQuery

I'd like to make a mute/unmute button in jQuery. I've done some searching on Stackoverflow and this is what I managed to do so far: $("video").prop('muted', true); $("#mute-video").click( function (){ if( $("video").prop('muted', true) ) …
oneday
  • 1,599
  • 5
  • 18
  • 29
28
votes
6 answers

How to mute all sound in a page with JS?

How can I mute all sound on my page with JS? This should mute HTML5
TheOne
  • 10,819
  • 20
  • 81
  • 119
27
votes
6 answers

Mute the global sound in Android

Is there a method that can be used to mute the global sound from an application button?
Yuen Tong
  • 789
  • 3
  • 9
  • 11
24
votes
2 answers

Linking to youtube muted - is there something like "&volume=0"?

I would like to include an easter egg link to youtube, that would start the video with no sound, is it possible? Something like href= http://www.youtube.com/watch?v=xxxxxxxxxxxx&volume=0 to prevent sound for people who would click accidentaly EDIT:…
apurkrt
  • 511
  • 1
  • 7
  • 14
22
votes
3 answers

Android mute/unmute phone

My goal is to support 2 operations: mute phone (possibly with vibrations enabled/disabled), so when a call or sms is received it won't make noise unmute phone and restore the volume to the state before muting phone How can I do this? What…
Sebastian Nowak
  • 5,607
  • 8
  • 67
  • 107
13
votes
1 answer

How to mute an iframe?

I need to mute an iframe, but I don't know how to do it. Here is an example of what I have: http://www.codecademy.com/en/bitAce74593/codebits/nW7U9b Here you can hear the music from the website on the iframe, I need to automatically mute that…
Haunt
  • 135
  • 1
  • 1
  • 5
10
votes
7 answers

How to control Windows system volume using JScript or VBScript?

I want to control the volume of my Windows system from a JScript or VBScript script. Any ideas? Also, can I unmute the system volume if it is muted?
Sibo Lin
  • 339
  • 1
  • 5
  • 16
10
votes
2 answers

How to mute/unmute audio when playing video using MPMoviePlayerController?

I've created my own custom controls for use with the MPMoviePlayerController. So far everything works except the mute button control. I've configured the AVAudioSession using the following code before I create my instance of the…
Camsoft
  • 11,718
  • 19
  • 83
  • 120
8
votes
3 answers

Audio Player play in background and should work based off of hardware mute switch

I want to play audio file in the foreground, background and it should work with mute switch i.e. if mute switch is on, then it should not play, if mute switch is off should play audio. **I'm developing an SIP call application. App should play…
Ganee....
  • 302
  • 2
  • 13
7
votes
1 answer

browser autoplay policy. How does autoplay work in Netflix?

I've developed an application like netflix which streams video. I'm working with video.js. when I try to play unmuted video, it throw error says that "Uncaught (in promise) DOMException: play() failed because the user didn't interact with the…
7
votes
3 answers

A way to mute an iframe using jQuery or CSS?

Is there a way to mute the audio of an iframe using jQuery or CSS? This is the iframe I need to mute