-
Notifications
You must be signed in to change notification settings - Fork 80
Browser Extensions Integration
LLPlayer can work with language-specific browser extensions such as Yomitan and 10ten via the clipboard.
I plan to incorporate these into the player in the future (issue), but here is a way to send subtitles text to the browser via the clipboard.
It cannot be used inside the video, but can be used in an external browser.
An extension is needed to send subtitles text to the browser via the clipboard.
For Chromium, Please set Allow access to file URLs
to enabled in the Clipboard Inserter
extension settings.
This is required for offline execution.
Install any browser extension to look up words.
For learning Japanese, there are Yomitan and 10ten.
Whole text is sent to the browser so any extensions can be used.
Please open settings in LLPlayer and open section Subtitles > Word Action
.
In Subtitles Auto Copy
, Please enable Auto Text Copy
toggle.
In Auto Text Copy Target
, You can select the subtitles to be copied. The default is to copy the primary subtitle.
Subtitles Auto Copy
can be toggled with the shortcut keys described below, so it is recommended that the default setting be disabled and saved.
It is recommended that you toggle the auto-copy feature as needed, as subtitles are copied to the clipboard each time they change.
The default key is set to Alt+A
.
If you want to change this, or if it is not set, let's set it.
Please open settings and open section Keys
.
Action: ToggleSubsAutoTextCopy (subtitles)
is the toggle action, Please set this to any shortcut you like.
You need a web page to insert subtitles obtained via the clipboard.
I recommend a specialized page such as Texthooker
below, which has convenient features such as auto-scrolling.
https://anacreondjt.gitlab.io/docs/texthooker/
It is also possible to run offline by downloading the following pages as html.
https://anacreondjt.gitlab.io/texthooker.html
After opening the Texthooker page, activate the Clipboard Inserter
by clicking on the extension icon in the upper right corner of your browser.
Each time the subtitle changes, the text subtitle is copied to the browser.
Thus, you can use a browser extension such as Yomitan
or 10ten
to look up the meaning of words.
Note that this will not work for bitmap subtitles. You must prepare text subtitles or convert bitmap to text with OCR.
If you no longer need it, press Alt+A
or other to turn off the auto-copy function.