AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.2.6" />

.NET API 393,728 bytes

 HTMLMediaElement

public abstract class HTMLMediaElement : HTMLElement
Represents the abstract base for HTML media (audio / video) elements.
public enum MediaNetworkState

An enumeration of possible network states.

public enum MediaReadyState

An enumeration of media ready states.

protected double currentTime

The current time.

protected double duration

The total time (duration).

The state of the network.

The state of the media.

protected bool seeking

Currently seeking ?

protected string source

The source url.

public string CrossOrigin { get; set; }

Gets or sets the cross-origin attribute.

public string CurrentSrc { get; }

Gets the current media source.

public double CurrentTime { get; set; }

Gets or sets the current time in seconds.

public double Duration { get; }

Gets the time in seconds.

Gets the current network state.

public string Preload { get; set; }

Gets or sets the preload attribute.

public MediaReadyState ReadyState { get; }

Gets the current ready state.

public bool Seeking { get; }

Gets if seeking is currently active.

public string Src { get; set; }

Gets or sets the media source.

public void Load()

Loads the media specified for this element.

public void Pause()

Pauses the playback of the media for this element.

public void Play()

Tries to play the media for this element.