A standard Varwin object used to configure 360 video files. Additionally, it has a switchable control panel for video playback. The object has the following behavior:

  • Moving
  • Interactivity
  • Scaling

After importing a video file into the platform resources, it will appear in the Desktop editor in the “Resources” tab. Learn more about downloading resources

Placing a panoramic video file on the stage

To place a 360 video file you need to add a “Video 360” object to the scene and then assign it a resource to play from the resource library

Setting up the “Video 360” object in the scene editor

Video 360

  • Video - field for selecting a resource

supported formats: mp4, mov, webm, wmv

  • Scale - Scales the video file. Performs the function of the standard scaling
  • Playback Speed (0-10) - Sets the video file speed between 0 and 10, where 0 is not playing, 1 is playing the file at the original speed, 10 is the maximum speed
  • Volume [0-1] - Set the volume of the video file from 0 to 1, where 0 is silent, 1 is maximum volume

The parameter supports input of fractional numbers in x.y format

  • Mute - mutes the playback of the video file in the scene
  • Loop - repeatedly plays the video file after its completion
  • Play on start - starts the video file right after the scene is initialized
  • “Play” button - to listen to the video file in the editor
  • “Stop” button - to stop listening to the video file in the editor

Blockly

The main interaction with the video file takes place inside the built-in Blockly logic editor

The default block types for the object are as follows:

Action Blocks

This set of actions allows you to control the playback of the video file:

  • Playback
  • Stops playback
  • Turn on pause during playback
  • Restore the original playback speed
  • Rewind one second N
  • Muting the sound
  • Turning the sound on

Variables

Contains blocks that specify and return values of the following video file attributes:

  • Scale
  • Playback speed (0-10)
  • Volume (0-1)
  • Looping
  • Playback on start
  • Video Playback
  • Video duration in seconds
  • Current time (in seconds)

Events

Event that is triggered when video playback ends