Kreatus (Ubot Ninja) 422 Posted May 6, 2013 Report Share Posted May 6, 2013 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 Quote Link to post Share on other sites
Aymen 385 Posted May 6, 2013 Report Share Posted May 6, 2013 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); Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted May 7, 2013 Author Report Share Posted May 7, 2013 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);") Quote Link to post Share on other sites
dankass 52 Posted December 18, 2014 Report Share Posted December 18, 2014 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. 1 Quote Link to post Share on other sites
UBotBuddy 331 Posted December 19, 2014 Report Share Posted December 19, 2014 And of course wire snippers to the speaker wires works wonders too. Buddy 1 Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted December 21, 2014 Author Report Share Posted December 21, 2014 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. Quote Link to post Share on other sites
Brutal 164 Posted December 21, 2014 Report Share Posted December 21, 2014 a couple of the plugins being sold here offer volume control.... thats how i'm doing it for my youtube stuff. Quote Link to post Share on other sites
pash 504 Posted December 22, 2014 Report Share Posted December 22, 2014 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 pluginhttp://www.ubotstudio.com/forum/index.php?/topic/16318-sell-plugin-advanced-systems/Use Command / Functionprocess sound volume/set: set process sound volume$process sound volume/get: by name Quote Link to post Share on other sites
Edward_2 85 Posted December 23, 2014 Report Share Posted December 23, 2014 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/ Quote Link to post Share on other sites
gavind 6 Posted December 25, 2014 Report Share Posted December 25, 2014 Great and thanks! I'm trying to start wtih Java. But I'm still trying to make things work on my end though. Quote Link to post Share on other sites
UBotDev 276 Posted December 26, 2014 Report Share Posted December 26, 2014 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") 1 Quote Link to post Share on other sites
Brutal 164 Posted December 27, 2014 Report Share Posted December 27, 2014 Thats pure power - Thanks ubotdev Quote Link to post Share on other sites
Edward_2 85 Posted December 27, 2014 Report Share Posted December 27, 2014 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.