Register

libCaptions

A Module for Foundry Virtual Tabletop

Author: bekit Project Source: Project URL Version 10 Last Updated 7 months, 4 weeks ago

libCaptions

Library module for displaying closed captioning / audio transcription within FoundryVTT. This module does not provide captioning services itself, but provides a way for other modules to display captions in the FVTT interface.

For example, an A/V conferencing module such as JitsiWebRTC can use this module to provide automated live captions for spoken words in the conference (see the example below).

 

Installation

You can install this module by using the following manifest URL: https://github.com/bekriebel/fvtt-module-lib-captions/releases/latest/download/module.json

 

How to use

This is a library module meant to be used as a dependency for other modules that provide captioning services in FoundryVTT.

In your module.json file, add:

  "dependencies": [
    {
      "name": "libCaptions",
      "manifest": "https://github.com/bekriebel/fvtt-module-lib-captions/releases/latest/download/module.json"
    }
  ]

Once added, captions can be displayed by using the method ui.captions.caption:

ui.captions.caption(<caption-id>, <foundry-user-object>, <caption-text>);

Captions with the same id will update existing displayed text if it is still on the screen. This allows interim captions to be displayed while they are being processed.

 

Example

animated image of foundry vtt live caption example

Support my work

Become a Patron Donate via Ko-Fi

Categories

Available Versions

  1. Version 0.1.0

    Compatible Foundry Versions: 0.7.0 - 0.8.4 Installation Link: Manifest URL Update Notes: Read Notes
  2. Version 0.1.1

    Compatible Foundry Versions: 0.7.0 - 0.8.5 Installation Link: Manifest URL Update Notes: Read Notes
  3. Version 0.1.2

    Compatible Foundry Versions: 0.7.0 - 0.8.6 Installation Link: Manifest URL Update Notes: Read Notes
  4. Version 0.1.3

    Compatible Foundry Versions: 0.7.0 - 0.8.8 Installation Link: Manifest URL Update Notes: Read Notes
  5. Version 0.1.4

    Compatible Foundry Versions: 0.7.0 - 9.231 Installation Link: Manifest URL Update Notes: Read Notes
  6. Version 0.1.5

    Compatible Foundry Versions: 0.7.0 - 10 Installation Link: Manifest URL Update Notes: Read Notes