Skip to content

Commit

Permalink
Merge pull request #1339 from beaufortfrancois/patch-1
Browse files Browse the repository at this point in the history
Fix comment for VTTCue.align
  • Loading branch information
mangui committed Sep 11, 2017
2 parents faf826d + 3b684e2 commit e90a1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/vttparser.js
Expand Up @@ -129,7 +129,7 @@ function parseOptions(input, callback, keyValueDelim, groupDelim) {

var defaults = new VTTCue(0, 0, 0);
// 'middle' was changed to 'center' in the spec: https://github.com/w3c/webvtt/pull/244
// Chrome and Safari don't yet support this change, but FF does
// Safari doesn't yet support this change, but FF and Chrome do.
var center = defaults.align === 'middle' ? 'middle' : 'center';

function parseCue(input, cue, regionList) {
Expand Down

0 comments on commit e90a1b9

Please sign in to comment.