Class AbstractMediaPlayerHandler
The base class for video player backends.
public abstract class AbstractMediaPlayerHandler : VizVidBehaviour
- Inheritance
-
AbstractMediaPlayerHandler
- Derived
- Extension Methods
Fields
core
protected Core core
Field Value
currentUrl
protected VRCUrl currentUrl
Field Value
- VRCUrl
isActive
protected bool isActive
Field Value
isPaused
protected bool isPaused
Field Value
isReady
protected bool isReady
Field Value
playerName
protected string playerName
Field Value
texture
protected Texture texture
Field Value
- Texture
trustedUrlDomains
protected string[] trustedUrlDomains
Field Value
- string[]
Properties
Duration
protected virtual float Duration { get; }
Property Value
IsActive
protected virtual bool IsActive { get; set; }
Property Value
IsAvPro
protected virtual bool IsAvPro { get; }
Property Value
IsPaused
protected virtual bool IsPaused { get; }
Property Value
IsPlaying
protected virtual bool IsPlaying { get; }
Property Value
IsReady
protected virtual bool IsReady { get; }
Property Value
IsStatic
protected virtual bool IsStatic { get; }
Property Value
Loop
protected virtual bool Loop { get; set; }
Property Value
PrimaryAudioSource
protected virtual AudioSource PrimaryAudioSource { get; }
Property Value
- AudioSource
Speed
protected virtual float Speed { get; set; }
Property Value
SupportSpeedAdjustment
protected virtual bool SupportSpeedAdjustment { get; }
Property Value
Texture
protected virtual Texture Texture { get; }
Property Value
- Texture
Time
protected virtual float Time { get; set; }
Property Value
Methods
IsCurrentUrlTrusted()
protected bool IsCurrentUrlTrusted()
Returns
IsSupported(string)
protected virtual int IsSupported(string urlStr)
Parameters
urlStrstring
Returns
LoadUrl(VRCUrl, bool)
protected abstract void LoadUrl(VRCUrl url, bool reload)
Parameters
urlVRCUrlreloadbool
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
urlVRCUrlurlStrstring