Changes:
- Feature: Image-based (i.e. BluRay/PGS/SUP) subtitle support. Caveat: Works better when subtitles are loaded from asbplayer (#91).
- Feature: Keyboard shortcuts for seeking -/+ 10 seconds (A/D keys) and to the beginning of the current subtitle (down key) (#130).
- Feature: Extension shortcuts are individually toggleable.
- Bug fix: Drag-and-drop overlay cannot extend past window boundaries. This would sometimes cause scroll bars to appear (#136).
- Bug fix: Drag-and-drop overlay accounts for scrolling.
- Bug fix: Subtitles correctly center on top of video elements that are not centered in the page e.g. default YouTube player (#123).
- Bug fix: Keyboard shortcuts aren't bound until a video is actually synced.
- Bug fix: Drag-and-drop overlay does not activate for inactive video elements e.g. CrunchyRoll ads video element.
- QoL: React components refactor (#115).
- QoL: TypeScript migration (#56).
- QoL: React 18 upgrade.
Installation steps:
- Download
asbplayer-extension-0.18.0.zip
, unzip it somewhere. - Go to
chrome://extensions
and enable developer mode in the top right. - If you have a previous version of the extension installed, delete it first.
- Click "load unpacked extension" and pick the unzipped directory.
- Refresh any tabs where you intend to use the extension.
Usage:
- Enable the extension.
- Sync video elements and subtitles with asbplayer:
- Drag and drop a subtitle file into a video element to sync it with asbplayer.
- Or, use the subtitle track selection dialog (
Ctrl+Shift+F
by default) to pick a video element and any detected subtitle tracks. - Or, after loading a subtitle file, detected tabs can be found by clicking the "video camera" icon in the bottom right of the asbplayer UI. Choosing a tab will sync asbplayer with that video.
- Using the appropriate keyboard shortcuts (
Ctrl+Shift+X
by default) will mine the current subtitle. See the README of this repo for more help. - Clicking on the extension in the Chrome toolbar will open the options/help page. You can pin the extension to the Chrome toolbar so it's easy to access (click on the puzzle piece and then the "pin" button next to the entry for asbplayer).