Register

libCaptions

An Add-on Module for Foundry Virtual Tabletop

Author: bekit Project Source: Project URL Versions 0.7.0+ (Verified 10) Last Updated 1 year, 10 months 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.5

    Compatibility: 0.7.0+ (Verified 10) Installation Link: Manifest URL Update Notes: Read Notes
  2. Version 0.1.4

    Compatibility: 0.7.0+ (Verified 9.231) Installation Link: Manifest URL Update Notes: Read Notes
  3. Version 0.1.3

    Compatibility: 0.7.0+ (Verified 0.8.8) Installation Link: Manifest URL Update Notes: Read Notes
  4. Version 0.1.2

    Compatibility: 0.7.0+ (Verified 0.8.6) Installation Link: Manifest URL Update Notes: Read Notes
  5. Version 0.1.1

    Compatibility: 0.7.0+ (Verified 0.8.5) Installation Link: Manifest URL Update Notes: Read Notes
  6. Version 0.1.0

    Compatibility: 0.7.0+ (Verified 0.8.4) Installation Link: Manifest URL Update Notes: Read Notes