BrightSign Object Reference Manual (FW 5.1) User Manual
Page 114

106
The filename is the same as documented earlier, but the multiscreen parameters are new. MultiscreenWidth and
MultiscreenHeight specify the width and height of the multiple-screen matrix. For example, 3x2 would be 3 screens wide
and 2 high. MultiscreenX and MultiscreenY specify the position of the current screen within that matrix. In the case above,
on average only 1/6th of the video is drawn on each screen (though the view mode still applies), so depending on the
shape of the video, it may have black bars on the side screens. In this way, it is relatively simple for a video player to
display part of an image based on its position in the multiscreen array.
PreloadFile does all of the preliminary work to get ready to play the specified video clip, including stopping the playback of
the previous video file. The call to "Play" starts the playback. This is good for synchronizing video across multiple players
as they can all be prepared ready to play and then will immediately start playing when the "Play" command is issued. This
reduces synchronization latencies.
The following are the default values for the parameters:
•
MultiscreenWidth = 1
•
MultiscreenHeight = 1
•
MultiscreenX = 0
•
MultiscreenY = 0
Example: Here is a script using PlayFile for displaying a portion of a video:
v=CreateObject("roVideoPlayer")
a=CreateObject("roAssociativeArray")
a["Filename"] = "test.ts"
a["SourceX"] = 100
a["SourceY"] = 100
a["SourceWidth"] = 1000