AngleSharp by Florian Rappl

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

.NET API 371,712 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

protected double duration

protected bool seeking

protected string source

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.

protected HTMLMediaElement()

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.