Terrapin Resources

Videos

Extends: VIDEO > CONTROL > WIDGET

The VIDEO control displays a video from a streaming site such as Vimeo or YouTube. It contains all WIDGET and CONTROL properties. It has a single property LINK that receives the link to the video to be displayed.


Part of: VIDEO

Gets or sets the link to an online video.

Syntax

GPROP name "LINK
PPROP name "CAMERA link

Description

This property accepts a special video link; please note that a URL is case sensitive! The property recognizes several video streaming services as special URLs. Often, the URLs to view a video are complex beasts to type in. If you know the ID of your video, you can use the name of the video service, a colon, and the ID of that video.

An example: If you click a YouTube video, its URL (displayed in the browser’s address bar) could be, for example:

https://www.youtube.com/watch?v=ZJaSQgsDQ1w

The text “ZJaSQgsDQ1w” is the video ID. To watch this video, use this command (assuming that the name of your control is VIDEO):

PPROP "VIDEO "LINK "|youtube:ZJaSQgsDQ1w|

The property recognizes these video service names: vimeo, ustream, youtube, viddler, slideshare, dailymotion, bambuser, metacafe, bliptv, break, msoffice, archiveorg, and niconico.

Examples

DRAW ; Drop a VIDEO widget from the Toolbox > Controls VIDEO dropped PPROP “VIDEO “LINK “|youtube:ZJaSQgsDQ1w|