# Sandbox.VideoPlayer.Duration

```csharp
float Duration { get; set; }
```

Gets the total duration of the video in seconds.

Declared in [Sandbox.VideoPlayer](/api/Sandbox.VideoPlayer).
Assembly: `Sandbox.Engine`.
