Skip to content

Commit

Permalink
@hartman Correct documentation to refer to nativeTextTracks option. c…
Browse files Browse the repository at this point in the history
…loses #3309
  • Loading branch information
hartman authored and Nicky Gerritsen committed May 11, 2016
1 parent 7c94ac4 commit 6e8ab67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ CHANGELOG

## HEAD (Unreleased)
* @BrandonOCasey Document audio/video track usage ([view](https://github.com/videojs/video.js/pull/3295))
* @hartman Correct documentation to refer to nativeTextTracks option ([view](https://github.com/videojs/video.js/pull/3309))

--------------------

Expand Down
4 changes: 2 additions & 2 deletions docs/guides/text-tracks.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ The Flash tech will always use the emulated text track functionality.
The video.js API and TextTrack objects were modeled after the w3c's specification.
video.js uses [Mozilla's vtt.js](https://github.com/mozilla/vtt.js) library to parse and display its emulated text tracks.

If you wanted to disable native text track functionality and force video.js to use emulated text tracks always, you can supply the `nativeTextTrack` option to the tech like so:
If you wanted to disable native text track functionality and force video.js to use emulated text tracks always, you can supply the `nativeTextTracks` option to the tech like so:
```js
let player = videojs('myvideo', {
html5: {
nativeTextTrack: false
nativeTextTracks: false
}
});
```
Expand Down

0 comments on commit 6e8ab67

Please sign in to comment.