Thumbnail

Full Screen Video Player

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

+ How To Add This Control To Your Project (Click to Expand)
  1. Make sure you have the latest version of ARC installed.
  2. Select the Get button in this page to download the archive file.
  3. Double click the downloaded archive file to execute installer.
  4. The installer will add this control to ARC.
  5. Load ARC and press the Project -> Add Control button from the menu.
  6. Choose the User Interface category tab.
  7. Press the Full Screen Video Player icon to add the control to your project.

Manual

Play videos in a fullscreen window that sits on top of everything else. Great 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.

Code:



// Begin playing a video full 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");

PRO
USA
#1  
What videos formats are acceptable?
PRO
Synthiam
#2   — Edited
What did you try that didn't work? It should play everything you can throw at it.
PRO
USA
#3  
Ok sounds good! Thanks!
PRO
Synthiam
#4  
There seems to be a problem with the upload - it's working on my dev machine but not my laptop. I'll need a bit to sort it out
PRO
USA
#6  
When you get an opportunity can you check the Pause code on your non-dev machine...I can't seem to get it to work.

Code:

// Pause the video
ControlCommand("Full Screen Video Player", "Pause Video");
PRO
Synthiam
#7   — Edited
Works fine - here's the code i tested with...

Code:


// Begin playing a video full screen
ControlCommand("Full Screen Video Player", "Play Video", "C:\\Users\\dj\\Videos\\Screen Recorder\\637427907140785293.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");
PRO
USA
#8  
Huh..thats the same..let me try again..I like the idea of being able to pause a screen and then resume...very useful
PRO
USA
#9   — Edited
Tested Full Screen Video Player:

first in the java script you presented, then in ez scrip - all went well, works, thanks
PRO
USA
#10  
It was syntax forgot the double "\"
PRO
Synthiam
#11   — Edited
Even without the double \, you didn't get an error stating the file was not found? Should have hmmmm 

User-inserted image
PRO
USA
#12  
Yeah I got that message, but I couldn’t figure out why. I kept moving it around thinking it had to be in a certain place.. not that I needed a double \\ for proper location. I’m used to messing in EZ Script, don’t have any experience in JavaScript. It will take some time getting used to it!
#13  
My employer gives me access to a bunch of online training, so it looks like I need to do the Javascript course.  As an old time VB (VB 5 and 6) devoper, I was pretty comfortable with EZ Script, but if Javasript is going to be the future of ARC I need to get up to speed. 

@DJ I know you also support Python, do us old folks a favor and stick with one language for your samples.  My brain can only squeeze in so much more before I start losing older critical skills:)
PRO
Synthiam
#14  
I only post Javascript. I'll never post python because i don't like python. Let me know where you saw a mix-up and I'll fix it. But I'm 100% certain I've never posted python as an example.