# source

> The source that the VideoPlayer uses for playback.

## Definition

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

```csharp
public VideoSource source { get; set; }
```

### Remarks

It is valid to set both a [VideoClip](/engine/6000.3/script-reference/unityengine/video/videoclip.md) and a URL in the [VideoPlayer](/engine/6000.3/script-reference/unityengine/video/videoplayer.md). This property controls which one will get used for playback. When setting a new clip or URL, the source will automatically change to make the associated type current.

**Note:** On WebGL, only [VideoSource.Url](/engine/6000.3/script-reference/unityengine/video/videosource/url.md) is supported.
