AI Education client development
AI Education is a scenario-based solution that ApsaraVideo VOD provides for online education, paid knowledge, and similar scenarios. Built on the PlayerKit component of the Player SDK, the solution embeds AI analysis results into the player UI so that you can build a course playback page with AI-assisted learning features instead of developing the AI panel yourself.
How the AI Education solution works
The AI Education solution combines the AI analysis capabilities of ApsaraVideo VOD with the UI extension capabilities of the Player SDK. ApsaraVideo VOD runs an AI analysis workflow that performs content understanding on a course video and associates the results with the corresponding media asset. PlayerKit then turns these results into an interactive playback experience in the player UI.
Responsibilities are divided as follows:
ApsaraVideo VOD — Runs the AI analysis workflow on the course video and stores the structured results with the media asset.
App Server — Retrieves video playback data and AI data from ApsaraVideo VOD in a unified way, converts the AI data into the unified data format that the client consumes, and returns the data to the client.
PlayerKit — Renders the AI data in the player UI and handles the related interactions.
Your client app — Configures the App Server and passes in the video ID (VID). Your app does not design the AI data structures or build the AI panel UI from scratch, because the App Server returns the data in the unified format and PlayerKit renders it through the slots.
The solution unifies the architecture, the integration method, and the presentation, which reduces duplicated work on data adaptation and on player UI and interaction logic across platforms.
Prerequisites
Player SDK integration — Your app integrates the PlayerKit component of the Player SDK. PlayerKit is the container that hosts the AI Education UI slots.
App Server — An App Server returns playback credentials and AI analysis results to your client in a unified way.
AI analysis results — The course video is uploaded to ApsaraVideo VOD as a media asset, and the AI analysis workflow is triggered for that media asset.
AI analysis results are produced asynchronously. Trigger the AI analysis workflow in advance, after the course video is uploaded. If no AI analysis results exist for the current video, the client hides the chapter entry button, and the player still plays the video normally.
Core capabilities
All capabilities of the AI Education solution are produced by ApsaraVideo VOD in the cloud and presented by PlayerKit. The following table describes each capability.
Capability | Description |
AI chapters | Automatically identifies the content structure of a course video and divides the video into chapters. The client displays the chapter titles and start times as a list and supports jumping to a specific chapter with one tap, which helps learners quickly locate the content that they need. |
Video splitting | A capability derived from AI chapter results. It splits a long video into multiple short clips that can be consumed independently based on content semantics. Learners can watch a single clip to go through key points quickly, and you can use the clips for course previews, clip sharing, and content redistribution to improve content reuse. |
Content summary | Automatically generates a course summary based on the video content and displays the summary in the AI content panel, so that learners can preview the key content before watching the course or review it quickly afterwards. |
Key point analysis | Extracts key points from the course content and returns them in a structured format. The client renders the key points directly, so you do not build a content annotation and operations process. |
Componentized UI extension | Extends the player UI based on the slot mechanism of PlayerKit. The AI components are decoupled from the built-in player components, so you can customize the style or replace the implementation based on your business requirements. |
Secure playback | Authenticates course videos for playback by using playback credentials. Together with video encryption and access control, this protects the copyright of your course content. |
UI overview

On top of the standard player UI, the AI Education playback page uses slots to add two types of UI elements: the chapter entry and the AI content panel. The following table describes the style and purpose of each UI element.
UI element | Description |
Chapter entry button | A button in the player control bar, provided by the |
AI content panel | An overlay panel above the video image, provided by the |
Chapter list | Displays the course chapters extracted by AI as a list. Each item contains the chapter title and the start time. Tap an item to make the player jump to the start of that chapter. |
Content summary and key points | Displays the AI-generated course summary and key points as text blocks. |
A typical interaction flow on the AI Education playback page is as follows:
The user opens the AI Education playback page. The video starts to play, and the chapter entry button appears in the player control bar.
The user taps the chapter entry button. The AI content panel expands and displays the chapter list, the content summary, and the key points.
The user selects a chapter in the chapter list. The player jumps to the start of that chapter and continues playback.
The user taps the chapter entry button again or taps the mask area outside the panel. The AI content panel closes, and the standard playback UI is restored.
Architecture
The client side of the AI Education solution uses a platform-independent layered architecture that consists of the scenario layer, the data layer, the UI layer, and the PlayerKit core component layer, from top to bottom. All platforms follow the same layer responsibilities and integration method. Only the names of the specific implementation types differ based on the programming language and the framework. Dependencies between the layers are one-way, so you can replace or extend the UI style while you keep the original player capabilities.
The following table describes the responsibilities of each layer.
Layer | Key role | Responsibility |
Scenario layer | Scenario entry page | Orchestrates data loading and the assembly of UI components. This layer is the only entry point for integrating the AI Education solution. |
Data layer | AI content loader and AI content view model | Requests playback credentials and AI analysis results asynchronously. This layer assembles the data returned by the server into a view model that the UI can consume directly, and provides data to each UI component. |
UI layer | Slots such as | Extends the player UI based on the slot mechanism of PlayerKit. This layer renders the chapter entry and the AI content panel and handles their interactions. These slots can coexist with other built-in slots. |
PlayerKit core component layer | Playback controller and PlayerKit core components | Provides playback control and state management, including playback source configuration, seeking, and playback state callbacks. This layer is the container that the slots run in. |
Data flow
The data flow of the AI Education solution consists of a production phase and a consumption phase.
Production phase: generate and store AI analysis results
The App Server submits the media asset ID of the course video to trigger the AI analysis workflow of ApsaraVideo VOD.
The AI workflow performs chapter extraction, summary generation, and key point analysis in sequence.
The workflow writes structured results such as chapters and summaries back to the media asset information in ApsaraVideo VOD, and verifies and stores the results.
Consumption phase: query and display AI analysis results
The client requests a playback credential from the App Server and obtains the media asset ID and the playback credential.
The client requests AI analysis results such as chapters and summaries from the App Server. The App Server calls the ApsaraVideo VOD operation that queries the AI analysis results of a media asset, converts the data into the unified data format that the client consumes, and returns it.
The client configures the player with the playback credential and the chapter data, and distributes the AI content to the slots for rendering.
During playback, the user interacts with the chapter entry and the AI content panel. The client calls the seek capability of the player based on the selected chapter, and receives playback position callbacks to keep the panel state in sync.