Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


VideoSource

Source of the video content for a VideoPlayer.
Read time 1 minuteLast updated 4 days ago

Definition

public enum VideoSource

Remarks

A VideoPlayer can contain valid references to both a VideoClip and a URL at the same time. This enum expresses which of the two should be used for playback.

Fields

Value

Description

UrlUse the current URL as the video content source.
VideoClipUse the current clip as the video content source.