videojs / vtt.js

A JavaScript implementation of the WebVTT specification, forked from vtt.js for use with Video.js

Home Page:http://dev.w3.org/html5/webvtt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Infinite loop in `findBestPosition` when `positionAlign` is `auto` (or empty) and the cue has no text

boris-petrov opened this issue · comments

Here is the infinite loop.

Example subtitles:

WEBVTT

1
00:00:00.970 --> 00:00:01.000 align:start line:9%,start position:10%