Show / Hide Table of Contents

Class VideoContentDetails

Details about the content of a YouTube Video.

Inheritance
object
VideoContentDetails
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class VideoContentDetails : IDirectResponseSchema

Properties

Caption

The value of captions indicates whether the video has captions or not.

Declaration
[JsonProperty("caption")]
public virtual string Caption { get; set; }
Property Value
Type Description
string

ContentRating

Specifies the ratings that the video received under various rating schemes.

Declaration
[JsonProperty("contentRating")]
public virtual ContentRating ContentRating { get; set; }
Property Value
Type Description
ContentRating

CountryRestriction

The countryRestriction object contains information about the countries where a video is (or is not) viewable.

Declaration
[JsonProperty("countryRestriction")]
public virtual AccessPolicy CountryRestriction { get; set; }
Property Value
Type Description
AccessPolicy

Definition

The value of definition indicates whether the video is available in high definition or only in standard definition.

Declaration
[JsonProperty("definition")]
public virtual string Definition { get; set; }
Property Value
Type Description
string

Dimension

The value of dimension indicates whether the video is available in 3D or in 2D.

Declaration
[JsonProperty("dimension")]
public virtual string Dimension { get; set; }
Property Value
Type Description
string

Duration

The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long.

Declaration
[JsonProperty("duration")]
public virtual string Duration { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

HasCustomThumbnail

Indicates whether the video uploader has provided a custom thumbnail image for the video. This property is only visible to the video uploader.

Declaration
[JsonProperty("hasCustomThumbnail")]
public virtual bool? HasCustomThumbnail { get; set; }
Property Value
Type Description
bool?

LicensedContent

The value of is_license_content indicates whether the video is licensed content.

Declaration
[JsonProperty("licensedContent")]
public virtual bool? LicensedContent { get; set; }
Property Value
Type Description
bool?

Projection

Specifies the projection format of the video.

Declaration
[JsonProperty("projection")]
public virtual string Projection { get; set; }
Property Value
Type Description
string

RegionRestriction

The regionRestriction object contains information about the countries where a video is (or is not) viewable. The object will contain either the contentDetails.regionRestriction.allowed property or the contentDetails.regionRestriction.blocked property.

Declaration
[JsonProperty("regionRestriction")]
public virtual VideoContentDetailsRegionRestriction RegionRestriction { get; set; }
Property Value
Type Description
VideoContentDetailsRegionRestriction

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX