Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve timerail highlight #62

Merged
merged 7 commits into from
Mar 24, 2021
Merged

Improve timerail highlight #62

merged 7 commits into from
Mar 24, 2021

Conversation

Dananji
Copy link
Collaborator

@Dananji Dananji commented Feb 25, 2021

Player highlighting the structure in the time rail with structure navigation and seek/scrub events:

Screencast.from.02-25-2021.11_21_16.AM.1.mp4

Timerail highlight updating with timeupdate event from video.js:
(First the existing timerail highlight is removed when the time reaches the end of that media fragment (around 06:13). From 06:13-08:45 there is no defined structure, so there's no timerail highlight. And then when time reaches 08:45 the highlight is created for the media fragment starting from 08:45 timestamp)

Screencast.from.03-11-2021.09_19_33.AM.mp4

Copy link
Collaborator

@adamjarling adamjarling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All in all looks great. Nice work.

src/components/MediaPlayer/VideoJSPlayer.js Outdated Show resolved Hide resolved
src/components/MediaPlayer/VideoJSPlayer.js Outdated Show resolved Hide resolved
src/components/MediaPlayer/VideoJSPlayer.js Outdated Show resolved Hide resolved
src/components/MediaPlayer/VideoJSPlayer.js Show resolved Hide resolved
@Dananji Dananji merged commit a9a56c9 into main Mar 24, 2021
@Dananji Dananji deleted the improve-timerail-highlight branch March 24, 2021 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants