Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| blocks:app-note:subtitles [2022-01-03 13:13] – [Formatting and styling of the subtitles] mattias | blocks:app-note:subtitles [2025-12-09 07:47] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Subtitles and Closed Captions====== | ======Subtitles and Closed Captions====== | ||
| - | This application note provides an example of how to build content using the subtitle feature of Blocks.. | + | This application note shows how to use the Subtitle |
| - | The examples cover features such as local synchronised | + | |
| + | {{vimeo> | ||
| | | ||
| Line 15: | Line 16: | ||
| {{ : | {{ : | ||
| - | then follow the instructions in the [[https:// | + | then follow the instructions in the [[blocks:app-note:start|general setup section]]. |
| Once you've done the general setup, copied the files and pointed your Blocks server to this root folder, follow these steps to run this application: | Once you've done the general setup, copied the files and pointed your Blocks server to this root folder, follow these steps to run this application: | ||
| Line 67: | Line 68: | ||
| ===== Subtitle .srt files===== | ===== Subtitle .srt files===== | ||
| - | The files used for subtitles in Blocks is .srt aka [[ https:// | + | The files used for subtitles in Blocks is .srt aka [[ https:// |
| The formatting looks like this example taken from the english exemple subtitle in this application note. | The formatting looks like this example taken from the english exemple subtitle in this application note. | ||
| Line 88: | Line 89: | ||
| ===== Basic inline formatting of the subtitles===== | ===== Basic inline formatting of the subtitles===== | ||
| - | It is possible to apply some basic formatting inside the .srt file itself, which may be useful if a single word or sentence should be formatted. | + | It is possible to apply some basic formatting |
| < | < | ||
| Line 118: | Line 119: | ||
| }. | }. | ||
| </ | </ | ||
| + | |||
| + | ===== Other applications===== | ||
| + | |||
| + | The subtitle block has additional use cases in addition to the standard subtitling, such as Closed Captions. Since the text can be styled and positioned anywhere on the screen (or even on other screen) it can also be used in any other application where one want to show some text in sync with a video for any purposes. | ||