Thumbnail

Full Screen Video Player

by Synthiam

Play videos in a fullscreen window that sits on top of everything else. Great for facial animations or user messages.

Requires ARC v9 (Updated 12/10/2023)

How to add the Full Screen Video Player robot skill

  1. Load the most recent release of ARC (Get ARC).
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Robot Skill from the button ribbon bar in ARC.
  4. Choose the Display category tab.
  5. Press the Full Screen Video Player icon to add the robot skill to your project.

Don't have a robot yet?

Follow the Getting Started Guide to build a robot and use the Full Screen Video Player robot skill.


How to use the Full Screen Video Player robot skill

Play videos in a fullscreen window that sits on top of everything else. Excellent for facial animations or user messages.

Use ControlCommands to specify videos to play fullscreen. The ESC key can be pressed while a video is playing to cancel the video. Once the ESC key is pressed, this robot skill will not play another video until the Pause New Playback checkbox has been unchecked.

Robot Skill Main Window

User-inserted image

  1. This checkbox will be checked when the ESC key is pressed during video playback. This feature is to prevent emergency loops that continually play videos. When ESC is pressed, this checkbox is checked. No further video playback can be done until this is unchecked by either ControlCommand or manually.

  2. The logging information for errors and activity

Javascript Example

This example will play a video and demonstrate the ControlCommand syntax.


// Begin playing a full video screen
ControlCommand("Full Screen Video Player", "Play Video", "C:\\Users\\dj\\Videos\\Screen Recorder\\637427907140785293.wmv");

// wait for 3 seconds while the video is playing
sleep(3000);

// Start playing another video
ControlCommand("Full Screen Video Player", "Play Video", "C:\\Users\\dj\\Videos\\Screen Recorder\\637430717372916488.wmv");

// wait for 2 seconds while the video is playing
sleep(2000);

// Pause the video
ControlCommand("Full Screen Video Player", "Pause Video");

// Wait for 2 seconds while the video is paused
sleep(2000);

// Resume playing the video
ControlCommand("Full Screen Video Player", "Resume Video");

// wait for 3 seconds while the video has been resumed
sleep(3000);

// Stop the video and close the video player window
ControlCommand("Full Screen Video Player", "Stop Video And Close");

Resolution Scaling

There is a known issue with the 3rd party video library where the video will only display on a portion of the screen. This issue is raised when the Window's scaling resolution is set to a value other than 100%. The workaround for this issue is to set the Window's scaling resolution to 100%.


ARC Pro

Upgrade to ARC Pro

Unlock the true power of automation and robotics by becoming a proud subscriber of Synthiam ARC Pro.

Colombia
#33  

This is the code command:

ControlCommand("Full Screen Video Player", "Play Video", "C:\\Users\\ATOM X\\Documents\\ATOMX\\faces\\3Atom_bravo.mp4")

The estrange thing is that if I open an empty ARC file and I just include the script (python) and the skill, it works, but when I put exactly the same script in my main ARC file with the other skills the problem happens.

Just to complement I am working now in WIN 11.

PRO
Synthiam
#34  

What if you remove the robot skill from your main ARC file. Then re-add it. Does that fix it?

it almost looks like a corrupted configuration file somehow

Colombia
#35  

Yes it seems a corrupted configuration file, I did it multiple times but without success, is it possible that any other Skill can interfere with this one?

PRO
Synthiam
#36  

Can you try this

  1. remove the skill

  2. save the project

  3. load the project

  4. add the skill

Colombia
#37  

Ok I will do it and let you know. The results Thanks.

Colombia
#38  

HI, I made the suggested steps but still unfortunately it is not working.

PRO
USA
#39   — Edited

In Ez script

ControlCommand("Full Screen Video Player", "Play Video", "C:\Users\ATOM X\Documents\ATOMX\faces\3Atom_bravo.mp4")

or your directory is wrong where the 3Atom_bravo.mp4 is located

Mine works fine

Colombia
#40  

Thanks! . Yes when I try with a fresh ARC file It works, but doing the same with the ARC file with the rest of my Skills it stops working.  I will try to rebuild my full ARC file (merging the skills) by parts to see when it starts to have the problem.