-
Notifications
You must be signed in to change notification settings - Fork 165
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
highlight current words #25
Comments
Alternative implementation - simplifiedfrom docs notes for implementaton see branch - Simplified version only showing current words approximated to the seconds At a high level, by this point we have already have the current time available to selecting words using attribute based on timecode
span.Word[data-start="18.14"] {
background-color: red;
} If you load the demo loacalhost:3006 and type this in the inspector tools, the word However we can approximate timeHowever we can approximate time to seconds and ignore the milliseconds. We can chose two selectors to help with this
or
so we can change our selector be span.Word[data-start^="18."] {
background-color: red;
} Now two words are selected we add a we can connect it to
|
PR #33 |
can you Please provide me the code for this ?? |
Hai..... Can I see the code for this? |
Some notes on possible implementation here
The text was updated successfully, but these errors were encountered: