# VideoSource

> Source of the video content for a VideoPlayer.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.Video](/engine/6000.6/script-reference/unityengine/video.md)
* **Assembly:** UnityEngine.VideoModule

```csharp
public enum VideoSource
```

## Remarks

A VideoPlayer can contain valid references to both a [VideoClip](/engine/6000.6/script-reference/unityengine/video/videoclip.md) and a URL at the same time. This enum expresses which of the two should be used for playback.

## Fields

| Value                                                                                   | Description                                       |
| --------------------------------------------------------------------------------------- | ------------------------------------------------- |
| [Url](/engine/6000.6/script-reference/unityengine/video/videosource/url.md)             | Use the current URL as the video content source.  |
| [VideoClip](/engine/6000.6/script-reference/unityengine/video/videosource/videoclip.md) | Use the current clip as the video content source. |
