Skip to content

Commit

Permalink
FLUID-4677: Tiny change for error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
anvk committed Mar 22, 2012
1 parent 58bc0af commit 8cf77c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/captionator/js/captionator.js
Expand Up @@ -364,6 +364,8 @@
// Covert JSON to accepted VTT format
data = captionator.unisubJSONtoVTT(data);
captionator.loadTrackVTTCaptions(data, currentTrackElement, callback);
} else {
currentTrackElement.readyState = captionator.TextTrack.ERROR;
}
});
} else {
Expand Down

0 comments on commit 8cf77c8

Please sign in to comment.