Jump to content
UBot Underground

How to make youtube videos completely silent?


Recommended Posts

Hey Guys,

 

Is there a way to completely silence youtube videos on ubot browser? Before youtube uses html in their videos I can run this javascript command ytplayer.mute(); and it will mute the video. But this doesnt work now.

 

I can disable flash by settings allow flash to no but not all youtube is disabled.

I can make the bot click the mute by using image recognition but it is a hit a miss. Most of the time it missed..

I can use TJ's plugin to mute the system sound but this can be annoying if the user is playing some music while the bot is running.

 

Maybe someone already worked on this and made youtube videos completely silent.

 

Any advice is appreciated.

 

Thanks

 

Link to post
Share on other sites

i think TJ has a ubot plugin that auto mute system sound !

 

try this javascript code too !

var mp = iframe.getElementById('movie_player');
mp.setVolume(0);

Link to post
Share on other sites

 

i think TJ has a ubot plugin that auto mute system sound !

 

try this javascript code too !

var mp = iframe.getElementById('movie_player');
mp.setVolume(0);

Yes I have tj's plugin but it will completely mute your computer's sound. It will be annoying if the user is playing music on their computer and the bot will mute it everytime it loads a video..

 

I tried to use run javascript that code but it didnt work.. Or am i doing it wrong?

I did it like this

 

run javascript("var mp = iframe.getElementById(\'movie_player\');

mp.setVolume(0);")

 

Link to post
Share on other sites
  • 1 year later...

I know this is old, but I've been trying to find something that works also without muting the whole system... here's what I found 

this will mute the sound of the video player for the whole session, but it can only be triggered once the video starts to play. However continuing to browse youtube (in that session/thread) it remains muted.

run javascript("movie_player.mute();") 

you can unmute it the same way but using this command (it IS case sensitive)

 

 

run javascript("movie_player.unMute();")

 

Note this is browsing youtube.com itself, it is probably different if its embedded videos.

  • Like 1
Link to post
Share on other sites

Javascript doesnt work on youtube now because they are using html5 on most of their videos.

 

Pash have a plugin that can mute ubot only. I think it is in the advanced ubot plugin.

This plugin

http://www.ubotstudio.com/forum/index.php?/topic/16318-sell-plugin-advanced-systems/

Use Command / Function

process sound volume/set: set process sound volume

$process sound volume/get: by name

Link to post
Share on other sites

I found this some time ago in github. there are lots of open sources projects there that can be incorporated into ubot. 

 

this may help it uses vimeo

 

http://zerosixthree.se/create-a-responsive-header-video-with-graceful-degradation/

Link to post
Share on other sites

You can mute UBot's browser via a FREE command line tools called nircmd (also ships with some other great features).

 

Here is an example:

plugin command("Advanced Shell.dll", "shell batch hidden", "nircmd.exe muteappvolume \"Browser.exe\" 1", "Yes")

  • Like 1
Link to post
Share on other sites

 

You can mute UBot's browser via a FREE command line tools called nircmd (also ships with some other great features).

 

Here is an example:

plugin command("Advanced Shell.dll", "shell batch hidden", "nircmd.exe muteappvolume \"Browser.exe\" 1", "Yes")

great resource thanks. It has both 64 and 32 bit apps. I would geuss just check if folder exists "program files (x86)" then use the correct app. 

Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...