Adding a video to a graphic can enrich the user interface experience.
Prerequisites: You are working in
Workbench and are connected to the station that manages the cameras. You have a graphic you created earlier.
- Open the graphic and select Edit mode.
The graphic editor opens.
- Drag a camera to the page.
The
Make Widget pop-up opens.
- Select
Workbench View and Live Video and click OK.
- Position the size of the video object in the graphic and save the graphic.
- Drag the camera to your graphic again, open the videoDriver palette and drag a LiveVideoPlayer component to the graphic.
Notice that this time there is no title bar above the video stream.
- You can try the same with the camera widget.
- Open the properties of the LiveVideoPlayer and add additional bindings to make the video visible depending on point status.
This creates a pop-up effect.