Table of Contents

TTMSFNCCloudGoogleYouTube Class

Drop-in component for the YouTube Data API: list, upload, update, delete and rate videos, and retrieve comment threads.

API unit family: TMSFNCCloudGoogleYouTube Inherits from: TTMSFNCCustomCloudGoogleYouTube

Syntax

TTMSFNCCloudGoogleYouTube = class(TTMSFNCCustomCloudGoogleYouTube)

Remarks

Configure authentication through the inherited Google settings before calling any operation.

Properties

Name Description
CommentThreads Comment threads retrieved for the most recently requested video. (inherited from TTMSFNCCustomCloudGoogleYouTube)
Videos Videos retrieved from the service. (inherited from TTMSFNCCustomCloudGoogleYouTube)

Methods

Name Description
DeleteVideo Deletes the given video from the service. (inherited from TTMSFNCCustomCloudGoogleYouTube)
GetAllCommentThreads Retrieves all comment threads for the given video identifier by following every page. (inherited from TTMSFNCCustomCloudGoogleYouTube)
GetAllVideos Retrieves all videos by following every page and adding the results to the Videos collection. (inherited from TTMSFNCCustomCloudGoogleYouTube)
GetFirstVideos Clears the Videos collection and retrieves the first page of videos. (inherited from TTMSFNCCustomCloudGoogleYouTube)
GetLatestCommentThreads Clears the CommentThreads collection and retrieves the most recent comment threads for the given video identifier. (inherited from TTMSFNCCustomCloudGoogleYouTube)
GetNextCommentThreads Retrieves the next page of comment threads for the given video identifier and appends it to the CommentThreads collection. (inherited from TTMSFNCCustomCloudGoogleYouTube)
GetNextVideos Retrieves the next page of videos and appends it to the Videos collection. (inherited from TTMSFNCCustomCloudGoogleYouTube)
GetVideoDetails Retrieves the full details for the given video and updates its fields. (inherited from TTMSFNCCustomCloudGoogleYouTube)
GetVideoRating Retrieves the authenticated viewer's rating for the given video. (inherited from TTMSFNCCustomCloudGoogleYouTube)
SetVideoRating Sets the authenticated viewer's rating for the given video. (inherited from TTMSFNCCustomCloudGoogleYouTube)
UpdateVideo Updates the metadata of the given video on the service from its current field values. (inherited from TTMSFNCCustomCloudGoogleYouTube)
UploadVideo Uploads a local video file to the service with the given title and description. (inherited from TTMSFNCCustomCloudGoogleYouTube)

Events

Name Description
OnAfterAddVideo Occurs after a video has been uploaded and added to the collection. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnBeforeAddVideo Occurs before a video upload starts and allows it to be cancelled. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnDeleteVideo Occurs when a video has been deleted. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnGetCommentThreads Occurs when a page of comment threads has been retrieved. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnGetCommentThreadsComplete Occurs when all pages of comment threads have been retrieved. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnGetVideoDetails Occurs when details for a single video have been retrieved. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnGetVideoRating Occurs when the viewer's rating for a video has been retrieved. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnGetVideos Occurs when a page of videos has been retrieved. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnGetVideosComplete Occurs when all pages of videos have been retrieved. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnSetVideoRating Occurs when a video rating has been set. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnUpdateVideo Occurs when a video's metadata has been updated. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnUploadVideo Occurs when a video upload has finished. (inherited from TTMSFNCCustomCloudGoogleYouTube)
OnUploadVideoProgress Occurs repeatedly during a video upload to report progress. (inherited from TTMSFNCCustomCloudGoogleYouTube)

Used by