.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 2 years ago
.gitignore removed swap 2 years ago
functions.js readme and functions as module 2 years ago
index.html readme and functions as module 2 years ago
index.js readme and functions as module 2 years ago
jeetee.mp3 test js sub 2 years ago
jeetee.srt sub as timeline 2 years ago
readme.md readme and functions as module 2 years ago
style.css documentation and comments 2 years 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