From 6e8ab67a48e7bde5d4b1bddbaef72e314e2a8019 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Wed, 11 May 2016 09:05:41 +0200 Subject: [PATCH] @hartman Correct documentation to refer to nativeTextTracks option. closes #3309 --- CHANGELOG.md | 1 + docs/guides/text-tracks.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dd98abfb..60feb4f92 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)) -------------------- diff --git a/docs/guides/text-tracks.md b/docs/guides/text-tracks.md index f89a7475b..bfbbed932 100644 --- a/docs/guides/text-tracks.md +++ b/docs/guides/text-tracks.md @@ -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 } }); ```