.srt file as timeline
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
km0 84f9296e3b merged changes 1 year ago
.gitignore removed swap 1 year ago
functions.js readme and functions as module 1 year ago
index.html readme and functions as module 1 year ago
index.js readme and functions as module 1 year ago
jeetee.mp3 test js sub 1 year ago
jeetee.srt sub as timeline 1 year ago
readme.md readme and functions as module 1 year ago
style.css documentation and comments 1 year ago

readme.md

Sub player

Use subtitles file (.srt) as timeline, attaching custom functions to the captions to build time-based web pages.

Test for La Jeetee VR.

Process

  1. Load audio player
  2. Load subtitles .srt file
  3. Parse .srt files into array of subtitles
  4. Add timeupdate callback on audio player to update current subtitle
  5. Create an object to map the id of the subtitle to callback functions

Files

  • index.html is the entry point
  • index.js takes care of loading and parsing the SRT file, calling the functions from
  • functions.js custom list of functions to map onto the subtitles defined in
  • jeetee.srt, that is a standard .srt file for subtitles