Open
Conversation
enter a UTC or local time (from chat logs, etc.) to instantly jump to that moment in a VOD. shows a clickable timestamp + copy URL button.
Contributor
|
@mellen9999 A useful extension. Why was it closed? |
- convert spaces to tabs (eslint requirement) - fix DST bug: use explicit Date construction instead of setHours mutation on cloned Date which breaks across DST transitions - add post-await navigation guard in fetchVideoStart to prevent stale video ID on rapid route changes - add aria-live/role=status on result box for screen readers - add aria-label on input - wrap all user-visible strings in i18n.t() for localization - use destructured createElement import (matches ffz convention)
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.
VOD Timestamp Finder
Convert a clock time (UTC or local) to the corresponding VOD timestamp.
The problem: You see a chat message at 04:48 UTC but the VOD timeline shows stream-relative time. Manually calculating the offset from stream start is tedious, especially across timezones.
The solution: On any VOD page, click the clock button in the metadata bar, enter the time, and get an instant seekable link.
Features
Files
src/vod-timestamp/index.js— 210 lines, zero external dependenciessrc/vod-timestamp/manifest.jsonsrc/vod-timestamp/utilities/graphql/video_info.gqlTesting
NODE_ENV=production webpack build