Page 1 of 1

how to make subtitle file appear only when I click on pause?

Posted: 20 Mar 2023 11:37
by Timucin
Hi. As I mentioned on the title I want to do this. It's looks as if it's possible from the threads here https://addons.videolan.org/p/1154027/ but since I don't know much about these issues I didn't understand. Could you plz tell me if it's possible or not. If yes how? Can you explain as if you say to someone who only can follow the instructions and doesn't have knowledge about these issues?

Re: how to make subtitle file appear only when I click on pause?

Posted: 27 Mar 2023 22:12
by mederi
The extension can display subtitles from a .srt file. Just edit the script in a text editor according to the comment posted there.
[2] Following solution does not need pressings of the button in the dialog box (v1.3).
Line 28>

Code: Select all

capabilities = {"playing-listener"}
Line 42>

Code: Select all

--Define a callback function here by inserting following new lines: function playing_changed() input_events_handler() subtitle=nil end