The YouTube Get Video Details action is used to retrieve detailed information about videos on YouTube. This action allows your application to access data such as title, description, publication date, and statistics (views, likes, number of comments) for specific video IDs. It is particularly preferred for content analysis, creating video lists, educational platforms, or media applications.
Technical Specifications
Get Video Details: The YouTube Get Video Details action returns detailed information from the YouTube API based on one or more video IDs.
Parameter Compatibility:
settings (Object – required): Configuration information required for YouTube integration.
videoIds (String – Many, required): List of video IDs for which details will be retrieved. Multiple IDs can be entered.
Value Binding: Fixed values can be assigned to parameters, or dynamic values (Action Result, Current, Form Component, Screen Input, etc.) can be bound via the Symbol Picker.
Multiple Results: When multiple video IDs are entered, the results return in an array (Many) format.
Web & Mobile Support: Can be used in both web and mobile applications.
Youtube Get Video Details Action Application Steps
1. Defining the Action in UI Design
Open your project on the Kuika platform.
UI Design module, select the screen where you want to display the video information.
Add a button (e.g., “Get Video Details”).
Select the button and add the OnClick → Youtube → Get Video Details action from the + ADD ACTION menu.
2. Configuring Parameters
settings (required): Select the defined settings for YouTube integration.
videoIds (required): Enter the video ID or IDs.
Example: dQw4w9WgXcQ or [“dQw4w9WgXcQ”, “kXYiU_JCYtU”]
Use Case: Listing YouTube Videos on an Education Platform
In an educational application, you can display video titles and descriptions to the user based on video IDs obtained from YouTube.
Steps:
Add a form in UI Design:
Video ID input (Text Input)
“Get Details” button
Add the OnClick → Youtube → Youtube Get Video Details action.
Link the parameter with Text Input.
Display the returned results on the screen with Select Box.
YouTube Get Video Details Advanced Customizations
Multiple Video Analysis: Bulk analysis can be performed by entering multiple video IDs.
Dynamic Use: Video IDs that appear after a user performs a search can be linked to this action.
Statistics Display: Views, likes, and comment counts can be displayed with graphs.
Technical Risks and Controls
The settings parameter must not be empty.
videoIds must be in the correct format, otherwise no results will be returned.
Entering too many video IDs may exceed API limits.