Show your caption on the YouTube
Mr.Jimaku Extension
- If you have a caption file, you can watch the video with the caption
- Of course, you can also use files that were given by someone else
- You can turn on or off the display of the caption
**⚠ We're assuming UTF-8 character set for the caption file.**
1. View YouTube video page in chrome
2. Select a caption file in the box under the title
You can turn off the caption by pressing the switch next to the box.
Here's how to write a caption file. It's the format of the srt file.
```text
1
00:00:00,000 --> 00:00:07,560
これは字幕ファイルから読み取った字幕です。
2
00:00:10,230 --> 00:00:14,700
This is a test video
```
1. Write timestamp for start time and end time of the text to be displayed
2. Write the text one line below the timestamp
Timestamp is written like `hh:mm:ss,sss --> hh:mm:ss,sss`.
`hh` is the hour, `mm` is the minute, `ss` is second, and `sss` is millisecond.
`:` is a delimiter for `hh`, `mm` and `ss`,
and `,` is a delimiter for `hh:mm:ss` and `sss`.
Start time, ` --> `, and end time, in that order.
Actually, if it's written in this format,
you don't have to worry about the file extension.
Read more
- Of course, you can also use files that were given by someone else
- You can turn on or off the display of the caption
**⚠ We're assuming UTF-8 character set for the caption file.**
1. View YouTube video page in chrome
2. Select a caption file in the box under the title
You can turn off the caption by pressing the switch next to the box.
Here's how to write a caption file. It's the format of the srt file.
```text
1
00:00:00,000 --> 00:00:07,560
これは字幕ファイルから読み取った字幕です。
2
00:00:10,230 --> 00:00:14,700
This is a test video
```
1. Write timestamp for start time and end time of the text to be displayed
2. Write the text one line below the timestamp
Timestamp is written like `hh:mm:ss,sss --> hh:mm:ss,sss`.
`hh` is the hour, `mm` is the minute, `ss` is second, and `sss` is millisecond.
`:` is a delimiter for `hh`, `mm` and `ss`,
and `,` is a delimiter for `hh:mm:ss` and `sss`.
Start time, ` --> `, and end time, in that order.
Actually, if it's written in this format,
you don't have to worry about the file extension.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Mr.Jimaku", "description": "Show your caption on the YouTube", "version": "1.2", "icons": { "32": "icons/icon-32x32.png", "48": "icons/icon-48x48.png", "128": "icons/icon-128x128.png" }, "content_scripts": [ { "js": [ "assets/index.tsx-loader-BzyOEyPt.js" ], "matches": [ "https://www.youtube.com/*" ], "css": [ "assets/index-B7iLW2LS.css" ] } ], "web_accessible_resources": [ { "matches": [ "https://www.youtube.com/*" ], "resources": [ "assets/index.tsx-C0u4kKzq.js" ], "use_dynamic_url": true } ]}
Read more