VideoThumbnail
Ecng.Markdown
Works out the still image that stands for a video before it is played.
Methoden
For
public static string For(string url)
result = VideoThumbnail.For(url)
Returns the address of a still for the video, or an empty string when none can be worked out.
- url
- Address the video plays from.
Rückgabe: Address of the still.
WatchUrl
public static string WatchUrl(string url)
result = VideoThumbnail.WatchUrl(url)
The address a reader should be sent to when they ask to play the video.
- url
- Address the markdown carries.
Rückgabe: Address to open.