This is a Chrome browser extension that displays real-time subtitles of running video within a generated HTML DOM element.
This extension helps students to translate instantly according to their preferred language with the help of Google Translate extension if they do not understand the language of the teacher.
Just install Google Translate extension.
- Clone or download this repository and extract it.
- Open Chrome extensions tab (chrome://extensions/) in your chrome browser.
- Turn on the developer mode at the top right of the document.
- Click on the "Load unpacked" button at the top left of the document.
- Browse and select the root directory of this extension.
- Now, the extension is loaded and you should pin it.
If you've done these steps correctly, when you click on the extension icon ( ) you should see a green button with "Generate" text written inside.
You can click on this link to see a video to completely understand how to use this extension and improving your learning speed on the Coursera platform :)
Coursera is using WebVTT (Web Video Text Tracks) for showing subtitles inside the video element.
WebVTT allows us to read the subtitles text and the other properties by the TextTrack interface.
When the value of the Mode property is 'showing', we can see that this text is displayed in the Video element.