VoxCommando
Help and Support (Using VoxCommando) => VoxCommando Basics and Core Features => Topic started by: rio14 on March 02, 2016, 11:07:59 PM
-
thank you it works good now
other thing i iput the link of aljazeera tv on youtube it works on firefox if some one has an improvement for diplaying the window, i think robob doesnt support html5 and youtube. thank you
-
RoboB should normally support anything that Internet Explorer supports. It will depend on which version of Internet Explorer you have installed.
-
I have tested the Al-Jazeera youtube stream in RoboB (using Internet Explorer 11) and it is working for me.
However, the only way I can make it full-screen is to use mouse emulation, because IE11 doesn't seem to support the youtube keyboard shortcuts.
But in this case, using a regular browser is fine -- Firefox or Chrome. If you want to have the video automatically go full-screen, you can use the keyboard shorcut "f".
*BUT* regular keyboard emulation does not work. Youtube keyboard shortcuts require DirectX, so you would need to enable the DxInput plugin.
e.g.
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.6-->
<command id="174" name="++aljazeera full screen" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Launch.OpenURL</cmdType>
<params>
<param>https://PUT YOUR DESIRED YOUTUBE URL HERE</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>VC.Pause</cmdType>
<params>
<param>5000</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Window.Focus</cmdType>
<params>
<param>firefox</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>DxInput.KeyPress</cmdType>
<params>
<param>f</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>al ja zeera full screen</phrase>
</command>
-
I've been working on a command for controlling netflix.com with RoboB and I found for keyboard shortcuts to work you have to click the mouse on the window then use DxInput to issue the keyboard shortcut,
this command makes a youtube video fullsceen using mouse emulation and dxinput
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.6-->
<command id="175" name="RoboB Youtube FullScreen " enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>RoboB.Select</cmdType>
<params>
<param>Youtube</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>RoboB.Navigate</cmdType>
<params>
<param>[youtube]https://www.youtube.com/watch?v=cJLv2JzWhSc[/youtube]</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>RoboB.Show</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>RoboB.Wait</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Mouse.MoveAbsolute</cmdType>
<params>
<param>200,200</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Mouse.LeftClick</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>DxInput.KeyPress</cmdType>
<params>
<param>f</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
</command>
you may have to change the mouse coordinates
-
Personally I am not able to make youtube go full screen with the F key if I am using Internet Explorer. It simply won't do it. I get a message that full screen is unavailable with a link that is completely useless and provides no pertinent information.
Yet I can click on the fullscreen icon and it works fine.
-
well that's better then I got with internet explorer (on windows 10) It would crash the browser when trying to load a video
Microsoft Edge and Firefox work with F to make it go full screen
when I use the command posted above it works 8 out of ten times but I think that has to do with weather the video has started