Метод | Описание | |
---|---|---|
PlayerTwitterCard ( string username, TwitterImage image, |
Initializes a new instance of the PlayerTwitterCard class.
|
|
ToString ( StringBuilder stringBuilder ) : void |
Appends a HTML-encoded string representing this instance to the stringBuilder containing the Twitter card meta tags.
|
public PlayerTwitterCard ( string username, TwitterImage image, |
||
username | string | The Twitter username associated with the page e.g. @RehanSaeedUK. This is a required property. |
image | TwitterImage | The image to be displayed in place of the player on platforms that don’t support iframes or inline players. /// You should make this image the same dimensions as your player. Images with fewer than 68,600 pixels /// (a 262x262 square image, or a 350x196 16:9 image) will cause the player card not to render. /// Image must be less than 1MB in size. |
player | The video player. | |
Результат | System |
public ToString ( StringBuilder stringBuilder ) : void | ||
stringBuilder | StringBuilder | The string builder. |
Результат | void |