The YouTube Search Videos action is used to search for videos on YouTube based on a specific search query. This action allows users to retrieve relevant video results from YouTube based on a specific keyword, topic, or title. It is particularly preferred on educational platforms, media applications, or content discovery screens.
Technical Specifications
Video Search: The YouTube Search Videos action returns video results from YouTube based on the entered search query.
Parameter Compatibility:
settings (Object – required): Configuration information required for YouTube integration.
query (String – required): The keyword or query to search for.
maxResults (Decimal – optional): Maximum number of videos to return.
Value Binding: Parameters can be assigned fixed values or dynamically bound (Action Result, Current, Form Component, Screen Input, etc.) using the Symbol Picker tool.
Multiple Results: The action returns a list of videos matching the query in Many format.
Web & Mobile Support: Can be used in both web and mobile applications.
YouTube Search Videos Action Application Steps
1. Defining the Action in UI Design
Open your project on the Kuika platform.
In the UI Design module, select the screen where you want to perform the video search.
Add a button (e.g., “Search Video”).
Select the button and add the OnClick → YouTube → Search Videos action from the + ADD ACTION menu.
2. Configuring Parameters
settings (required): Select the defined settings for YouTube integration.
query (required): Connect the keyword the user will search for with Text Input.
maxResults (optional): Number of videos to return (e.g., 5 or 10).
Use Case: Video Search on an Education Platform
In an education app, users can access relevant educational videos on YouTube by typing a keyword.
Steps:
Add a form in UI Design:
Search box (Text Input → “ReactJS Tutorial”)
“Search Video” button
Add the OnClick → Trello → Youtube Search Videos action.
Link the query parameter to Text Input.
Enter a value such as 5 for the maxResults parameter.
Display the returned results with the Select Box element.
YouTube Search Videos Advanced Customizations
Dynamic Search: Results can be automatically updated when the user types different words.
Filtering: Only videos from specific channels or date ranges can be displayed from the returned results.
Chain Usage of Results: Detailed information can be obtained by linking a selected video ID from the search results to the YouTube Get Video Details action.
Technical Risks and Controls
The settings parameter must not be empty.
If the query is empty, the action will not work.
If maxResults is set too high (e.g., 50+), performance issues may occur.