The Brave Video Search action allows users to access videos related to specific keywords using the Brave search engine's video search feature. The videos returned in the search results include information such as title, description, duration, source, and link. It is particularly preferred in media, education, e-commerce, and content applications.
Technical Specifications
Search Process (Search Panel): The Brave Video Search action lists videos that match the given query. The results returned contain multiple items and can be used in list (Many) format.
Parameters:
settings (Object – required): These are the settings required for the Brave API. Brave settings created via the Configuration Manager should be selected in this field.
query (String – required): Keyword or phrase to be used in the video search. (E.g., “machine learning tutorial,” “football highlights,” “product review”).
count (Int32 – required): Specifies the number of videos to return. If 0 is provided, no results are returned; a minimum value of 1 or greater must be entered.
Data Source Compatibility: All parameters can be defined as fixed, or they can be obtained from dynamic sources such as Form Input, Current, Action Result, Method Input via the Symbol Picker.
Web & Mobile Support: The Brave Video Search action works seamlessly on both web and mobile applications.
Brave Video Search Application Steps
1. Defining the Action in UI Design
Open your Kuika project.
UI Design module, select the page where the video results will be displayed.
Add a Text Input (search box) and Button (e.g., “Search Video”) element.
Click on the button and select the + ADD ACTION → Brave Search → Brave Video Search action.
2. Configuring Parameters
settings: Select the Brave API setting you created in Configuration Manager.
query: Connect the search term entered by the user in the Text Input.
count: Specify the number of videos to return (e.g., 10).
Use Case: Capturing Training Videos
In an e-learning application, the user wants to see training videos by typing “Python Tutorial”.
Steps:
Add Text Input (e.g., ‘Keyword’).
Add a “Search Video” button.
Define the OnClick → Brave Video Search action.
Connect the Text Input element to the Query field and set the count value to 10.
Display the returned video results in a List or Card component with the title, duration, and link.
Brave Video Search Advanced Customizations
Search by Category: Filtering can be done by subcategories such as education, sports, and technology.
Video Preview: Previews can be provided to the user using the thumbnail area of the returned results.
Saving Results: Users can save videos to their favorites or transfer them to the database.
Opening with External Link: The returned video URL can redirect the user directly to the video source.
Technical Risks and Controls
query must not be empty. Since it is a mandatory parameter, if left blank, no results will be returned.
If count = 0 is given, no results can be obtained. At least 1 or a greater value must be entered.
settings must be configured correctly. If the Brave Video Search setting is not configured in Configuration Manager, the action will not work.
Result Format: In the returned results, the title, description, duration, and URL fields come in JSON format; these must be linked correctly.