The Video Control makes it easy to insert movie media into a GraphWorX 2D display. This lets you include live streaming video in a console or dashboard, include training videos in an interactive display, and include movie files in a display for any purpose you can think of. You can configure video so that it runs or live streams automatically or only when a runtime user starts it. Note that the video control works in all kinds of displays -- even in Silverlight displays.
Live Stream from a URL using one of the following protocols:
HTTP
HTTPS
MS-WMSP (including MMS and RTSP)
If you are live streaming video, you will need to make sure all required add-ons and upgrades have been installed on the client that will run the video, the source itself is transmitting, and that firewalls and security do not prevent the source from live streaming. Some testing on the client where the display will run may be needed.
Play a video file in one of the following formats:
Windows Media Video - *.WMV
AVI files - *.AVI
MPEG files - *.MPEG and *.MPG
Quicktime movie files - *.MOV
MPEG-4 files - *.MP4
To add a video control to a 2D GraphWorX display, follow the instructions below.
On the 2D Controls ribbon in GraphWorX64, click the Video Control icon, or click the Video Control in the Toolbox.
Using the cursor, draw a box in the GraphWorX64 display area for the video control. It will look something like the following:
In the Properties tab (shown above on the right), set the video control's properties. You can optionally change the border's opacity and give it an effect, and change other settings in the Common-Style and Measurements and Text sections.
Scroll down to the Video section of the control's properties, as shown in the example above.
In the Video Source property, click the ellipsis [...] button to open the Select Video Source dialog box.
In the Source Type field, specify whether the video control will:
Play a video file - Select Filesystem then click the Browse button. In the Open dialog box, navigate to and select the file, then click Open.
Stream from a URL - Select Streaming (from URL), then in the Source Location field type the URL of the source. For example, type http://mysite.com/stream.
Click Play Preview to test the video source. Click Stop Preview to stop it.
Click OK to close the dialog.
Adjust any of the other properties which are described below.
The Video Control's properties has several sections. The more common properties are not described here, but the Video and Video Control Panel sections are. You can enter and modify them as needed.
Video Source - The source of the video to be played in the display.
Default Volume - The volume level of the sound for the video during runtime. Runtime users will be able to change the volume level only if you show the volume button on the control panel using the properties described below.
Autoplay - True plays the video automatically when the display goes into Runtime. False means that the video will start only when a runtime user starts it using the Play/Pause button on the control panel.
Repeat Count - Applies to video files. Indicate the number of times you want the file to be played before it stops. You can choose Infinite, 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10.
Preserve Ratio - True maintains the ratio of the original video's dimensions. This is important only if the dimensions of the Video Control are different that those of the video source. False may result in the video being skewed in appearance.
Mute - True mutes the sound of the video and prevents runtime users from using the volume controls.
Show Control Panel - True displays the control bar, giving runtime users the ability to use the controls on the bar. False hides it and all options on it.
Show Seekbar - True displays the seek bar. False hides it.
Show Volume - True displays the volume control on the control bar. False hides it.
Show Stop - True displays the stop button on the control bar. False hides it.
Show Play/Pause - True displays the play/pause toggle button control on the control bar. False hides it.
See