StreamingVarwinVideo180Wrapper

class StreamingVarwinVideo180.StreamingVarwinVideo180Wrapper(object: Object)

Bases: Object

class PlayerLockOptions

Bases: object

Lock: Any = Ellipsis

Lock player

DontLock: Any = Ellipsis

Don’t lock player

property PlayerLockMode: Any
Returns:

value from the list:

  • StreamingVarwinVideo180Wrapper.PlayerLockOptions.Lock

  • StreamingVarwinVideo180Wrapper.PlayerLockOptions.DontLock

Example:

value = instance.PlayerLockMode
property Scale: float

Example:

value = instance.Scale
property Speed: float

Playback speed (0..10)

Example:

value = instance.Speed
property Volume: float

Example:

value = instance.Volume
property Loop: bool

Example:

value = instance.Loop
property PlayOnAwake: bool

Play on start

Example:

value = instance.PlayOnAwake
property Length: Any

Video length (in seconds)

Example:

value = instance.Length
property CurrentTime: Any

Current time (in seconds)

Example:

value = instance.CurrentTime
IsLoading() → bool

Is Loading

Example:

value = instance.IsLoading()
IsPlaying() → bool

Is Playing

Example:

value = instance.IsPlaying()
TeleportPlayerInPanorama() → None

Teleport player

Example:

instance.TeleportPlayerInPanorama()
Play() → None

Example:

instance.Play()
LoadVideo() → None

Load

Example:

instance.LoadVideo()
UnloadVideo() → None

Unload

Example:

instance.UnloadVideo()
Stop() → None

Example:

instance.Stop()
Pause() → None

Example:

instance.Pause()
ResetSpeed() → None

Reset playback speed

Example:

instance.ResetSpeed()
Seek(position: Any) → None

Seek to second

Example:

instance.Seek(0)
MuteAudio() → None

Mute audio

Example:

instance.MuteAudio()
UnmuteAudio() → None

Unmute audio

Example:

instance.UnmuteAudio()
AddPlaybackCompletedHandler(handler: Callable[[Object], CoroutineType]) → None

On complete

Parameters:

handler –

Asynchronous handler function with signature:

  • sender (Object): the object that triggered the event

Example:

async def OnPlaybackCompleted(sender):
  pass
instance.AddPlaybackCompletedHandler(OnPlaybackCompleted)
AddVideoLoadedHandler(handler: Callable[[Object], CoroutineType]) → None

On loaded

Parameters:

handler –

Asynchronous handler function with signature:

  • sender (Object): the object that triggered the event

Example:

async def OnVideoLoaded(sender):
  pass
instance.AddVideoLoadedHandler(OnVideoLoaded)