Closed zlylupaf closed 2 months ago
Standard mode speech recognition subtitles (with +
suffix), using Dualsub's server for recognition, based on OpenAI Whisper, currently only supports recognition of English.
Your video is in Russian, so it will be displayed as { no-speech }
because no English sentences are recognized.
You can only use native mode for this kind of video, which uses subtitles provided by the YouTube server.
Can you add support for double-clicking to select text in native mode? Also, this video seems to have subtitle files https://www.youtube.com/watch?v=2IUiJcKhO2s
中文版:我想要双击选择字幕中的词,这样方便我翻译,在standard mode这很容易可以完成,但是在native mode实现不了这一点,有的视频standard mode有我想要的字幕(俄语+英文),比如这个 https://www.youtube.com/watch?v=2IUiJcKhO2s ,没问题。但是有的视频,比如这个,没有(只有自动生成,结尾带+的字幕): https://www.youtube.com/watch?v=u6ztdG1A7rg ,只有在native mode有我想要的字幕(俄语+英文)。 可不可以1.把native mode的字幕(俄语+英文)放到standard mode 或者2.支持native mode双击选择
What's "double-clicking", you mean "text selection"?
对
So all you need is to enable YouTube's native subtitles to select text, rather than the default behavior of dragging to move the position?
sure
The default mouse behavior of YouTube's native subtitle renderer is to move the subtitle position.
Its HTML structure is not suitable for customization, and even implementing text selection is difficult.
Other extensions may already implement this function, and it is recommended to use other extensions.
If I use standard mode, the subtitle file doesn't exist.(If it did, I would be able to double-click to select it) If I use native mode, The file exists but, I can't double-click to select it The reason I need to double-click it: so I can translate it. this is the video: https://www.youtube.com/watch?v=u6ztdG1A7rg