limura / CaptionSpeaker

CaptionSpeaker は youtube で表示される字幕を発話させる事で耳から聞くことができるようにする chrome extension です。
MIT License
41 stars 18 forks source link

How to add pause so that while subtitles are being played - the original video is on pause? #9

Closed lofti198 closed 1 year ago

lofti198 commented 1 year ago

Hallo! Cool extension! How to add pause so that while subtitles are being played - the original video is on pause?

limura commented 1 year ago

Hello. Unfortunately, we do not offer such a mechanism at this time.

If I were to rewrite it, I would probably rewrite the AddSpeechQueue() area. https://github.com/limura/CaptionSpeaker/blob/1f9553740a0709d34957ada589caf2679104a7aa/CaptionSpeaker/contentScript.js#L304

The original Japanese text is shown below.

こんにちは。 残念ながら、今の所そのような仕組みは提供しておりません。

書き換えるとすると、 AddSpeechQueue() 辺りの部分を書き換える感じでしょうか。 https://github.com/limura/CaptionSpeaker/blob/1f9553740a0709d34957ada589caf2679104a7aa/CaptionSpeaker/contentScript.js#L304

limura commented 1 year ago

特に返信も無いようなのでcloseします。