Skip to content

docs: add JavaScript implementation to captions page#2510

Merged
raviteja83 merged 1 commit intomainfrom
docs/js-captions-implementation
Feb 24, 2026
Merged

docs: add JavaScript implementation to captions page#2510
raviteja83 merged 1 commit intomainfrom
docs/js-captions-implementation

Conversation

@raviteja83
Copy link
Collaborator

Summary

  • Add JS/React tabs to the captions documentation page
  • Show vanilla JS approach using hmsNotifications.onNotification for receiving transcript messages
  • Show React hook approach using useTranscript for comparison
  • Add tabs to all sections: implementing captions, checking status, permission checking

Test plan

  • Verify tabs render correctly on the docs site
  • Verify JavaScript code examples are accurate
  • Verify React code examples match existing SDK usage

🤖 Generated with Claude Code

Add JS/React tabs to the captions documentation showing both the
vanilla JS approach (hmsNotifications.onNotification) and the React
hook approach (useTranscript) for receiving transcript messages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
100ms-docs Ready Ready Preview Feb 24, 2026 8:37am

Request Review

@raviteja83 raviteja83 merged commit 95338b3 into main Feb 24, 2026
3 checks passed
@raviteja83 raviteja83 deleted the docs/js-captions-implementation branch February 24, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants