Table of Contents

Class AbstractMediaPlayerHandler

Namespace
JLChnToZ.VRC.VVMW

The base class for video player backends.

public abstract class AbstractMediaPlayerHandler : VizVidBehaviour
Inheritance
AbstractMediaPlayerHandler
Derived
Extension Methods

Fields

core

protected Core core

Field Value

Core

currentUrl

protected VRCUrl currentUrl

Field Value

VRCUrl

isActive

protected bool isActive

Field Value

bool

isPaused

protected bool isPaused

Field Value

bool

isReady

protected bool isReady

Field Value

bool

playerName

protected string playerName

Field Value

string

texture

protected Texture texture

Field Value

Texture

trustedUrlDomains

protected string[] trustedUrlDomains

Field Value

string[]

Properties

Duration

protected virtual float Duration { get; }

Property Value

float

IsActive

protected virtual bool IsActive { get; set; }

Property Value

bool

IsAvPro

protected virtual bool IsAvPro { get; }

Property Value

bool

IsPaused

protected virtual bool IsPaused { get; }

Property Value

bool

IsPlaying

protected virtual bool IsPlaying { get; }

Property Value

bool

IsReady

protected virtual bool IsReady { get; }

Property Value

bool

IsStatic

protected virtual bool IsStatic { get; }

Property Value

bool

Loop

protected virtual bool Loop { get; set; }

Property Value

bool

PrimaryAudioSource

protected virtual AudioSource PrimaryAudioSource { get; }

Property Value

AudioSource

Speed

protected virtual float Speed { get; set; }

Property Value

float

SupportSpeedAdjustment

protected virtual bool SupportSpeedAdjustment { get; }

Property Value

bool

Texture

protected virtual Texture Texture { get; }

Property Value

Texture

Time

protected virtual float Time { get; set; }

Property Value

float

Methods

IsCurrentUrlTrusted()

protected bool IsCurrentUrlTrusted()

Returns

bool

IsSupported(string)

protected virtual int IsSupported(string urlStr)

Parameters

urlStr string

Returns

int

LoadUrl(VRCUrl, bool)

protected abstract void LoadUrl(VRCUrl url, bool reload)

Parameters

url VRCUrl
reload bool

Pause()

protected virtual void Pause()

Play()

protected virtual void Play()

Stop()

protected virtual void Stop()

TryGetUrl(VRCUrl, out string)

protected virtual bool TryGetUrl(VRCUrl url, out string urlStr)

Parameters

url VRCUrl
urlStr string

Returns

bool