Table of Contents

Class EmbedVideo

Namespace
NetCord
Assembly
NetCord.dll

Contains information used for the rendering and display of videos in embeds.

public class EmbedVideo : IJsonModel<JsonEmbedVideo>
Inheritance
EmbedVideo
Implements
Inherited Members

Constructors

EmbedVideo(JsonEmbedVideo)

Contains information used for the rendering and display of videos in embeds.

public EmbedVideo(JsonEmbedVideo jsonModel)

Parameters

jsonModel JsonEmbedVideo

Properties

Height

The height of the video in pixels.

public int? Height { get; }

Property Value

int?

ProxyUrl

The URL of the video displayed in the embed, proxied by the Discord CDN server.

public string? ProxyUrl { get; }

Property Value

string

Url

The URL of the video displayed in the embed.

public string? Url { get; }

Property Value

string

Width

The width of the video in pixels.

public int? Width { get; }

Property Value

int?