Table of Contents

TTMSFNCCustomCloudGoogleYouTube Class

Base component that connects to the YouTube Data API and exposes video and comment operations such as listing, uploading, updating, deleting, rating, and retrieving comment threads.

API unit family: TMSFNCCloudGoogleYouTube Inherits from: TTMSFNCCustomCloudGoogle

Syntax

TTMSFNCCustomCloudGoogleYouTube = class(TTMSFNCCustomCloudGoogle)

Remarks

This is the non-published base class; use the published TTMSFNCCloudGoogleYouTube component on a form. Authentication is configured through the inherited Google settings before any operation is called.

Properties

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

Methods

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