silverorange / site

Website framework.
GNU Lesser General Public License v2.1
3 stars 18 forks source link

Fix timestamp format in WebVTT files #282

Closed gauthierm closed 5 years ago

gauthierm commented 5 years ago

The timestamp format must be 00:00:00.000 and not 00:00:00,000

See https://support.jwplayer.com/articles/how-to-add-preview-thumbnails#vtt-example and https://www.w3.org/TR/webvtt1/#webvtt-timestamp

Testing

  1. check out PR
  2. on roble go to the hippo site
  3. run gulp --symlinks=site
  4. load https://hippostage.silverorange.com/hippo-em/work-gauthierm/www/vtt/4416.vtt
  5. paste file content in https://quuz.org/webvtt/ to validate