Skip to content

Conversation

@ibrahimcesar
Copy link
Owner

No description provided.

Add comprehensive interactive events demo showcasing v3.0+ event system:

- Live event log showing all 10 event handlers in action
- Real-time player state display
- Visual event data with timestamps
- Code examples for all event handlers (onReady, onStateChange, onPlay,
  onPause, onEnd, onBuffering, onError, onPlaybackRateChange,
  onPlaybackQualityChange, onIframeAdded)
- TypeScript type definitions reference
- Clear documentation that enableJsApi={true} is required

Users can now interact with the video and see exactly which events fire
and what data they receive, making it easy to understand and implement
the event system in their own applications.
Add interactive navigation menu with links to all 11 examples:

Features:
- Beautiful gradient navigation bar at top of page
- Grid layout adapts to screen size (responsive)
- All examples now have anchor IDs for direct linking
- Highlight "Events" example as NEW in v3.0+
- Glassmorphism effect on navigation links

Examples linked:
1. Basic Usage (#basic)
2. Max Resolution (#maxres)
3. WebP Format (#webp)
4. Lazy Loading (#lazy)
5. Playlist (#playlist)
6. Start Time (#start-time)
7. SEO & Structured Data (#seo)
8. Custom Aspect Ratio (#aspect-ratio)
9. Player Control (#player-control)
10. Events (#events) - highlighted as NEW
11. Accessibility (#accessibility)

Improves UX by allowing users to quickly jump to any specific example
instead of scrolling through the entire page.
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
ES Module 2.88 KB (0%)
CommonJS 2.84 KB (0%)
CSS 1.05 KB (0%)

@ibrahimcesar ibrahimcesar added the documentation Improvements or additions to documentation label Nov 15, 2025
@ibrahimcesar ibrahimcesar added this to the 3.0.0 milestone Nov 15, 2025
@ibrahimcesar ibrahimcesar self-assigned this Nov 15, 2025
@ibrahimcesar ibrahimcesar merged commit 23cb39b into main Nov 15, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants