Fixed support for webvtt chapters. Fixes #676.. closes #1221