videoPage(whichPage, which folder, clip0, clip1, which folder, clip0, clip1, priority, vectorPage, vidCommand)

From pinHeck Wiki
Jump to: navigation, search

Overloaded function version of videoPage.

Works the same way as videoPage, but loads both video layers (0 and 1) of the page at the same time.

The first video specified (0) is the foreground layer. Black pixels act as transparency. The second video specified (1) is the background layer. It is only visible through the black pixels of the foreground layer.

When two videos are running the frame rate is cut in half to 15 FPS. The playback of each layer can be controlled separately with the videoControl() function.