![CCaptioner 预览](https://addons.mozilla.org/user-media/addon_icons/2621/2621671-64.png?modified=569e6563)
CCaptioner 作者: Raymond Hill
Assign a text track to a video element in a web page
您需要 Firefox 来使用此扩展
扩展元数据
屏幕截图
![Popup panel](https://addons.mozilla.org/user-media/previews/thumbs/231/231539.jpg?modified=1622135195)
![Popup panel: time offset](https://addons.mozilla.org/user-media/previews/thumbs/231/231540.jpg?modified=1622135203)
关于此扩展
A very simple extension which purpose is to assign a text track to a HTML5 video element in a web page.
Many HTML5 video players do not offer the ability to import text track for captions/subtitles purpose. The purpose of this extension is to remediate this problem.
When you want to assign a text track to a video element in a web page:
- Open the popup menu and click "Assign text track to..."
- Move the mouse over the target video element
- Click the video element if needed
- A file picker will appear
- Pick the .srt or .vtt file to use as text track
The video should now render the captions/subtitles of the file you selected.
The content scripts of CCaptioner are injected if and only if you click on its toolbar icon while on a specific web site, and only for that web site. Once the text track is embedded, the content script terminates and should be garbage-collected by your browser's JavaScript engine.
Once a text track has been assigned to a video element on a given page, you can time-shift the text track through CCaptioner's popup panel -- this is useful when the text track is not well synchronized with the video content.
## Permissions
### activeTab
This permission means that the extension will be able to interact with a web page only when you click its icon in the toolbar; so CCaptioner's content script is injected only when you demand it by clicking CCaptioner's toolbar icon.
### <all_urls>
This permission is necessary to ensure CCaptioner's content script can also be injected in embedded iframe elements in a page -- it is not uncommon for video players to be inside an iframe which origin is different from the origin of the root document.
Many HTML5 video players do not offer the ability to import text track for captions/subtitles purpose. The purpose of this extension is to remediate this problem.
When you want to assign a text track to a video element in a web page:
- Open the popup menu and click "Assign text track to..."
- Move the mouse over the target video element
- Click the video element if needed
- A file picker will appear
- Pick the .srt or .vtt file to use as text track
The video should now render the captions/subtitles of the file you selected.
The content scripts of CCaptioner are injected if and only if you click on its toolbar icon while on a specific web site, and only for that web site. Once the text track is embedded, the content script terminates and should be garbage-collected by your browser's JavaScript engine.
Once a text track has been assigned to a video element on a given page, you can time-shift the text track through CCaptioner's popup panel -- this is useful when the text track is not well synchronized with the video content.
## Permissions
### activeTab
This permission means that the extension will be able to interact with a web page only when you click its icon in the toolbar; so CCaptioner's content script is injected only when you demand it by clicking CCaptioner's toolbar icon.
### <all_urls>
This permission is necessary to ensure CCaptioner's content script can also be injected in embedded iframe elements in a page -- it is not uncommon for video players to be inside an iframe which origin is different from the origin of the root document.
为您的体验打分
权限详细了解
此附加组件需要:
- 存取您在所有网站的数据
更多信息
- 附加组件链接
- 版本
- 1.1.0
- 大小
- 29.76 KB
- 上次更新
- 4 年前 (2020年2月26日)
- 相关分类
- 许可证
- GNU 通用公共许可证 v3.0
- 版本历史
添加到收藏集
1.1.0 的发布说明
Support some non UTF-8 encodings; related issue: Wrong character encoding
Raymond Hill 制作的更多扩展
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分
- 目前尚无评分