ResolvedVideo

Ecng.Markdown

A video reference resolved to either an address to play or the reason there is nothing to play.

Konstruktoren

ResolvedVideo
public ResolvedVideo()
resolvedVideo = ResolvedVideo()

Initializes a new instance.

ResolvedVideo
public ResolvedVideo(string url, string unavailableText)
resolvedVideo = ResolvedVideo(url, unavailableText)

Initializes a new instance.

url
Address the video is played from. Empty when the video is not playable.
unavailableText
Why the video cannot be played, in the reader's language. Only the caller knows that language, so the text is resolved rather than composed here. Empty renders nothing at all.

Eigenschaften

IsPlayable
public bool IsPlayable { get; }
value = resolvedVideo.IsPlayable

Whether there is an address to play.

UnavailableText
public string UnavailableText { get; set; }
value = resolvedVideo.UnavailableText
resolvedVideo.UnavailableText = value

Why the video cannot be played, already localized.

Url
public string Url { get; set; }
value = resolvedVideo.Url
resolvedVideo.Url = value

Address the video is played from.