Time Based Text

Introduction and Example

A DokuWiki plugin to render time based text on a wiki page.


Restart


Usage Information

The tbt plugin has been released on the DokuWiki website.

download tbt plugin (link to v0.2.2) - install w/ DokuWiki's plugin manager (shift-reload your site to flush cached javascript after the installation).

Playback with DokuWiki

{{tbt>[[100,885],[111,647],[8,598],[8,159],[68,322],[111,279],[107,198],[117,717],[87,251],[105,135],[107,174],[105,206],[32,120],[114,371],[111,121],[99,132],[107,112],[115,555],[46,320],[8,790],[8,198],[8,462],[8,198],[8,390],[101,331],[97,134],[108,200],[108,110],[116,277],[32,344],[8,326],[8,111],[121,100],[32,224],[114,563],[111,152],[99,164],[107,169],[115,220],[33,764],[13,856],[45,940],[45,158],[45,142],[45,150],[45,134],[45,126],[45,372],[45,16],[45,17],[45,16],[45,17],[45,16],[45,17],[45,17],[45,16],[45,146],[45,158],[45,134],[45,142],[45,142],[45,142],[45,134],[13,734]]}}

TBT Format: time-base-text is saved as JSON encoded array of [ ASCII-char, milli-seconds ] array pairs. The DokuWiki plugin responds to

{{tbt> }}

tags.

Recording Text

tbt@dyne and dynebolic includes tools to record, replay and convert time-based-text data files in various programming languages.

Here's some XHTML/Javascript to author time-based-text from a website. You can test and use it at http://robin.linuxaudio.org/tbt-generator3.html

Comments and Notes

There's ongoing discussion to rewrite the javascript - which is currently git.dyne.orgs version; also adding timing (optional speedup and fixed-time regions) and styling (inline color, italic, bold,..) and scrolling features.

DokuWiki tbt-plugin ToDo:

  • add style.css.
  • Allow to select
    • monospace (demo mode) or
    • serif ((story mode) fonts
  • provide for options
    • to hide/display the restart/pause buttons
    • caption
    • alignment.
    • custom speed/time scaling.
  • improve code to generate unique ID's when using multiple tbt div's.
  • integrate tbt-generator - similar to mediamanager.
 
wiki/tbt.txt · Last modified: 20.01.2012 04:09 by rgareus