feat: implement advanced video player#104
Merged
RUKAYAT-CODER merged 1 commit intorinafcode:mainfrom Mar 27, 2026
Merged
Conversation
|
@od-hunter Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
Author
|
Hi @RUKAYAT-CODER , please review my pr |
Contributor
|
Support our project by giving us a star |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a learning-focused advanced video player with timestamped notes and bookmarks, plus engagement/progress analytics, to improve the educational video experience.
AdvancedVideoPlayerwith custom controls (play/pause, seek, volume/mute, fullscreen, PiP, keyboard + touch gestures)VideoNotesandVideoBookmarkspanels tied to(userId, lessonId)with optimistic UI + API-backed mock persistence (and local cache fallback)PlaybackAnalyticstracking watch time, max progress, seeks, speed/quality changes, and completion; posts events to/api/video-analyticsand marks lesson completion viaPATCH /api/lessons/[id]/progress/video-player-demofor manual verification and screenshotsRelated Issue
Closes #87
Type of change
Screenshots / Recording (if UI)
Screenshots captured from
/video-player-demoand saved in:screenshots/video-player-demo/video-player-default.pngscreenshots/video-player-demo/video-player-bookmarks-panel.pngscreenshots/video-player-demo/video-player-notes-panel.pngscreenshots/video-player-demo/video-player-transcript-panel.png(Additional screenshots from the capture run are also present in
screenshots/video-player-demo/.)Testing
/video-player-demorenders and basic interactions work (play/pause, seek, speed, panel toggles, add note/bookmark).Targeted lint that was run (and passed):
Quality gate checklist
Closes #<issue-number>