csharp
public record class VideoPlaybackOptionsHow to open a clip.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A class rather than a record struct, deliberately. VideoPlayerOptions is a record struct whose default skips its field initialisers and hands out a queue capacity of zero — a trap that cost a test to find — and repeating the shape here would repeat the trap on a type whose whole job is to be passed as .
Fields and properties (6)
public bool LoopWhether the video restarts when it ends.
public bool AutoPlayWhether to start playing as soon as it is open.
public bool OpenAudioWhether to open the audio track at all.
public VideoPlayerOptions PlayerHow the picture's own decoding is configured.
public bool? SeparateAudioReaderWhether the sound gets a reader of its own rather than sharing the picture's.
public bool AudioNeedsOwnReaderWhat SeparateAudioReader works out to.
Used by (2)
- VideoPlaybackVixen.Video
- VideoPlaybackTestsVixen.Video.Tests