# MediaPlayerOptions

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-media-video/struct-mediaplayeroptions/

**struct** · [`ferroui-media-video`](/docs/0.5.0/api/ferroui-media-video/) · v0.5.0

```rust
struct MediaPlayerOptions
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Video/player.rs#L88)

## Members

- [`autoplay`](#struct_field-autoplay)
- [`looping`](#struct_field-looping)
- [`volume`](#struct_field-volume)
- [`muted`](#struct_field-muted)
- [`presentation`](#struct_field-presentation)

<a id="struct_field-autoplay"></a>

### autoplay

```rust
autoplay: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Video/player.rs#L89)

<a id="struct_field-looping"></a>

### looping

```rust
looping: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Video/player.rs#L90)

<a id="struct_field-volume"></a>

### volume

```rust
volume: f64
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Video/player.rs#L91)

<a id="struct_field-muted"></a>

### muted

```rust
muted: bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Video/player.rs#L92)

<a id="struct_field-presentation"></a>

### presentation

```rust
presentation: crate::frames::PresentationPolicy
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Media.Video/player.rs#L93)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `Default`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
