feat: add new interactive cue types to example #12#13
feat: add new interactive cue types to example #12#13taj54 merged 1 commit intointeractive-video-labs:mainfrom
Conversation
This commit introduces new interactive cue types to the example in `examples/index.tsx`. Specifically, it adds: - A 'choice-video-segment-change' cue type for branching video segments. - A 'text' cue type for collecting user input.
|
Caution Review failedThe pull request is closed. WalkthroughThe changes update the interactive video cues in the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant InteractiveVideo
participant VideoPlayer
User->>InteractiveVideo: Watches video
InteractiveVideo->>VideoPlayer: Play until cue at time 2
VideoPlayer-->>InteractiveVideo: Cue 'question2' triggered
InteractiveVideo->>User: Prompt for name (text input)
User->>InteractiveVideo: Submit name
VideoPlayer->>InteractiveVideo: Play until cue at time 10
VideoPlayer-->>InteractiveVideo: Cue 'segmentChange' triggered
InteractiveVideo->>User: Present segment change options
User->>InteractiveVideo: Selects video segment
InteractiveVideo->>VideoPlayer: Load selected segment
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Poem
Note 🔌 MCP (Model Context Protocol) integration is now available in Early Access!Pro users can now connect to remote MCP servers under the Integrations page to get reviews and chat conversations that understand additional development context. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This commit introduces new interactive cue types to the example in
examples/index.tsx. Specifically, it adds:Summary by CodeRabbit
New Features
Improvements