AngleSharp by Florian Rappl

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

.NET API 886,784 bytes

 HTMLMediaElement

Represents the abstract base for HTML media (audio / video) elements.

The state of the network.

protected double _currentTime

The current time.

protected double _duration

The total time (duration).

protected bool? _muted

Currently muted ?

The state of the network.

protected bool _seeking

Currently seeking ?

protected string _source

The source url.

protected double _volume

The volume.

public IAudioTrackList AudioTracks { get; }

public ITimeRanges BufferedTime { get; }

public IMediaController Controller { get; }

public string CrossOrigin { get; set; }

Gets or sets the cross-origin attribute.

public string CurrentSource { get; }

Gets the current media source.

public double CurrentTime { get; set; }

Gets or sets the current time in seconds.

public double DefaultPlaybackRate { get; set; }

public double Duration { get; }

Gets the time in seconds.

public IMediaError Error { get; }

public bool IsAutoplay { get; set; }

public bool IsDefaultMuted { get; set; }

public bool IsEnded { get; }

public bool IsLoop { get; set; }

public bool IsMuted { get; set; }

public bool IsPaused { get; }

public bool IsSeeking { get; }

Gets if seeking is currently active.

public bool IsShowingControls { get; set; }

public string MediaGroup { get; set; }

Gets the current network state.

public double PlaybackRate { get; set; }

public ITimeRanges PlayedTime { get; }

public string Preload { get; set; }

Gets or sets the preload attribute.

public MediaReadyState ReadyState { get; }

Gets the current ready state.

public ITimeRanges SeekableTime { get; }

public string Source { get; set; }

Gets or sets the media source.

public DateTime StartDate { get; }

public ITextTrackList TextTracks { get; }

public IVideoTrackList VideoTracks { get; }

public double Volume { get; set; }

public event EventListener CanPlay

public event EventListener Emptied

public event EventListener Ended

public event EventListener Paused

public event EventListener Played

public event EventListener Playing

public event EventListener Waiting

public ITextTrack AddTextTrack(string kind, string label = null, string language = null)

public string CanPlayType(string type)

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.