# Sandbox.VideoPlayer.Play

## Overload 1

```csharp
void Play(string url)
```

Plays a video file from a URL. If there's already a video playing, it will stop.

### Parameters

- `url` (`string`)

## Overload 2

```csharp
void Play(BaseFileSystem filesystem, string path)
```

Plays a video file from a relative path. If there's already a video playing, it will stop.

### Parameters

- `filesystem` (`BaseFileSystem`)
- `path` (`string`)

Declared in [Sandbox.VideoPlayer](/api/Sandbox.VideoPlayer).
Assembly: `Sandbox.Engine`.
