Sprite Tab

Thanks for creating this plugin!

I noticed an issue where vertical videos are not displaying properly.

Hi, the issues that have been highlighted by @gunterxx and @rudi123 have been fixed. Special thanks to @JAVegeta420 for contributing the transcoding bug fix PR.

Sprite Tab 1.6

  • Fixed portrait/non-16:9 sprite sheets rendering incorrectly. Sprite cells were hardcoded to a 16:9 aspect ratio; portrait scenes showed a thin, drifting sliver of each frame instead of the full thumbnail. Cells now render at the source thumbnail’s actual aspect ratio.
  • Fixed sprite highlighting drifting out of sync during transcoded playback. The active-sprite indicator now reads playback time from the video.js player instead of the raw element, so it tracks correctly under transcoding.
  • Added keyboard navigation. Sprite cells are now focusable buttons with arrow-key/Home/End navigation and Enter/Space to activate, with proper ARIA labeling.

If you see any problems, let me know here.

2 Likes

I made a slight change to this in that when the video is paused and you click a sprite the video moves to that place but remains paused. This could be useful to some. If the video is playing it works as before.

You can access the updates sprites.js file here simply swap it out

You might be interested in Gallery Mode, which solves a similar problem: Gallery Mode