Show / Hide Table of Contents

Class Video

A video resource represents a YouTube video.

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

Properties

AgeGating

Age restriction details related to a video. This data can only be retrieved by the video owner.

Declaration
[JsonProperty("ageGating")]
public virtual VideoAgeGating AgeGating { get; set; }
Property Value
Type Description
VideoAgeGating

ContentDetails

The contentDetails object contains information about the video content, including the length of the video and its aspect ratio.

Declaration
[JsonProperty("contentDetails")]
public virtual VideoContentDetails ContentDetails { get; set; }
Property Value
Type Description
VideoContentDetails

ETag

Etag of this resource.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

FileDetails

The fileDetails object encapsulates information about the video file that was uploaded to YouTube, including the file's resolution, duration, audio and video codecs, stream bitrates, and more. This data can only be retrieved by the video owner.

Declaration
[JsonProperty("fileDetails")]
public virtual VideoFileDetails FileDetails { get; set; }
Property Value
Type Description
VideoFileDetails

Id

The ID that YouTube uses to uniquely identify the video.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
System.String

Kind

Identifies what kind of resource this is. Value: the fixed string "youtube#video".

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
System.String

LiveStreamingDetails

The liveStreamingDetails object contains metadata about a live video broadcast. The object will only be present in a video resource if the video is an upcoming, live, or completed live broadcast.

Declaration
[JsonProperty("liveStreamingDetails")]
public virtual VideoLiveStreamingDetails LiveStreamingDetails { get; set; }
Property Value
Type Description
VideoLiveStreamingDetails

Localizations

The localizations object contains localized versions of the basic details about the video, such as its title and description.

Declaration
[JsonProperty("localizations")]
public virtual IDictionary<string, VideoLocalization> Localizations { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, VideoLocalization>

MonetizationDetails

The monetizationDetails object encapsulates information about the monetization status of the video.

Declaration
[JsonProperty("monetizationDetails")]
public virtual VideoMonetizationDetails MonetizationDetails { get; set; }
Property Value
Type Description
VideoMonetizationDetails

Player

The player object contains information that you would use to play the video in an embedded player.

Declaration
[JsonProperty("player")]
public virtual VideoPlayer Player { get; set; }
Property Value
Type Description
VideoPlayer

ProcessingDetails

The processingDetails object encapsulates information about YouTube's progress in processing the uploaded video file. The properties in the object identify the current processing status and an estimate of the time remaining until YouTube finishes processing the video. This part also indicates whether different types of data or content, such as file details or thumbnail images, are available for the video. The processingProgress object is designed to be polled so that the video uploaded can track the progress that YouTube has made in processing the uploaded video file. This data can only be retrieved by the video owner.

Declaration
[JsonProperty("processingDetails")]
public virtual VideoProcessingDetails ProcessingDetails { get; set; }
Property Value
Type Description
VideoProcessingDetails

ProjectDetails

The projectDetails object contains information about the project specific video metadata.

Declaration
[JsonProperty("projectDetails")]
public virtual VideoProjectDetails ProjectDetails { get; set; }
Property Value
Type Description
VideoProjectDetails

RecordingDetails

The recordingDetails object encapsulates information about the location, date and address where the video was recorded.

Declaration
[JsonProperty("recordingDetails")]
public virtual VideoRecordingDetails RecordingDetails { get; set; }
Property Value
Type Description
VideoRecordingDetails

Snippet

The snippet object contains basic details about the video, such as its title, description, and category.

Declaration
[JsonProperty("snippet")]
public virtual VideoSnippet Snippet { get; set; }
Property Value
Type Description
VideoSnippet

Statistics

The statistics object contains statistics about the video.

Declaration
[JsonProperty("statistics")]
public virtual VideoStatistics Statistics { get; set; }
Property Value
Type Description
VideoStatistics

Status

The status object contains information about the video's uploading, processing, and privacy statuses.

Declaration
[JsonProperty("status")]
public virtual VideoStatus Status { get; set; }
Property Value
Type Description
VideoStatus

Suggestions

The suggestions object encapsulates suggestions that identify opportunities to improve the video quality or the metadata for the uploaded video. This data can only be retrieved by the video owner.

Declaration
[JsonProperty("suggestions")]
public virtual VideoSuggestions Suggestions { get; set; }
Property Value
Type Description
VideoSuggestions

TopicDetails

The topicDetails object encapsulates information about Freebase topics associated with the video.

Declaration
[JsonProperty("topicDetails")]
public virtual VideoTopicDetails TopicDetails { get; set; }
Property Value
Type Description
VideoTopicDetails

Implements

IDirectResponseSchema
Back to top