Table of Contents

Class VideoPlayer

Namespace
Lime
Assembly
Lime.dll
public class VideoPlayer : Image, IDisposable, IAnimatorHost, IRenderChainBuilder, IAnimable, ICloneable, IImageCombinerArg, IMaterialComponentOwner, IUpdatableNode
Inheritance
VideoPlayer
Implements
Inherited Members
Extension Methods

Constructors

VideoPlayer()

public VideoPlayer()

VideoPlayer(Widget)

public VideoPlayer(Widget parentWidget)

Parameters

parentWidget Widget

Properties

CurrentPosition

public float CurrentPosition { get; set; }

Property Value

float

Duration

public float Duration { get; }

Property Value

float

Looped

public bool Looped { get; set; }

Property Value

bool

MuteAudio

public bool MuteAudio { get; set; }

Property Value

bool

Status

public VideoPlayerStatus Status { get; }

Property Value

VideoPlayerStatus

Methods

Dispose()

Stops all tasks and calls Dispose of all descendants.

public override void Dispose()

GetRenderObject()

TODO: Add summary.

protected override RenderObject GetRenderObject()

Returns

RenderObject

InitPlayer(string)

public void InitPlayer(string sourcePath)

Parameters

sourcePath string

OnUpdate(float)

public virtual void OnUpdate(float delta)

Parameters

delta float

Pause()

public void Pause()

Start(Action)

public void Start(Action onStart)

Parameters

onStart Action

Stop()

public void Stop()