Skip to content

Feature: Time info overlay (current/end time, wall-clock finish time, custom format) #932

Description

@sushantadhkr

PRs are disabled on this repo, so posting this as an issue instead — happy to share the diff/patch if useful, or a fork link.

What it does

Adds an optional overlay shown on top of the video (or pinned to a fixed screen corner) displaying:

  • Current/total time, scaled to playback speed (e.g. at 2x, a 30:20 video shows as 15:10)
  • The wall-clock time the video will finish (e.g. "2:08 PM"), accounting for current speed
  • Optional remaining-time countdown
  • A custom format string option, e.g. "Ends at {{clock}} ({{remaining}})"

Related to #335 (Show saved time and new duration time at current speed) — this covers that request plus a live end-clock time.

Settings

  • Toggle in Section Flags: "Show time info"
  • Modal with: placement (fixed on screen vs. anchored to the video), corner position, opacity, font size, rounding, offset, color (defaults to theme, overridable), 12/24/auto clock format, show/hide toggles for each part, custom format string, hide-in-fullscreen, and a zoom-compensation toggle so the overlay's size stays consistent regardless of browser zoom
  • Overlay auto-hides on mouse hover so it doesn't block native player controls underneath

Why

Useful for knowing exactly when a video/lecture/podcast will finish in real time, especially at non-1x speeds where the native duration display is misleading.

Happy to clean this up into a proper patch/branch on my fork if you'd want to merge it — let me know your preferred format since PRs are off. Fork: https://github.com/wormcracker/globalSpeed

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions