Patches

Video Layer

Video Layer

A layer that can play a video.

Video Layer

  • Enable
  • Position
  • Anchor
  • Size
  • Opacity
  • Scale
  • Rotation
  • Pivot
  • Video
  • Play
  • Fill Style
  • Shadow Color
  • Shadow Opacity
  • Shadow Radius
  • Shadow Offset
  • Video Rate
  • Loop
  • Scrub
  • Scrub Time
  • Volume
  • Playback
  • Current Time
  • Duration
  • Natural Size

Enable

A boolean that is true when the layer is displayed.

Position

The position to display the layer. Use Point 3D to set Z position.

Anchor

The anchor point to position the layer relative to. See Coordinates for more information.

Size

The size of the layer.

Opacity

The opacity of the layer.

Scale

The scale of the layer.

Rotation

The rotation of the layer. Use Point 3D to set X or Y rotations.

Pivot

The pivot to rotate and scale the layer about. See Coordinates for more information.

Video

A video to play.

Play

A boolean that is true when the video is playing.

Fill Style

The image sizing behavior: fit, fill, stretch, or tile.

Shadow Color

The color of the shadow.

Shadow Opacity

The opacity of the shadow. By default, the opacity is 0, which disables the shadow.

Shadow Radius

The blur radius of the shadow.

Shadow Offset

The size of the shadow relative to the size of the layer.

Video Rate

A number that represents the speed multiplier to play the video. 0 pauses the video. 2 plays it at twice the speed.

Loop

A boolean that is true when the video will loop to the beginning at the end.

Scrub

A boolean that is true when the video will jump to the time specified in Scrub Time.

Scrub Time

The time to jump the video to when Scrub is on.

Volume

A number from 0-1 that represents the loudness of the video.

Playback

The playback style: asynchronous or synchronous. By default, playback is asynchronous.

Asynchronous means the video plays independently from the framerate of the prototype — videos play smoothly even when prototype has a low framerate. Synchronous means the video plays at a rate coordinated with the framerate of the composition. This supports coordinating multiple videos that need to be matched precisely.

Current Time

The elapsed time of the video, in seconds.

Duration

The length of the video, in seconds.

Natural Size

The original size of the video.