diff --git a/config/configuration.sample.yml b/config/configuration.sample.yml index 6642009d4a..e3447106e5 100644 --- a/config/configuration.sample.yml +++ b/config/configuration.sample.yml @@ -225,6 +225,14 @@ embed_bundle: document: player: flexpaper enable_pdfjs: true +video-editor: + ChapterVttFieldName: VideoTextTrackChapters + seekBackwardStep: 500 # in ms + seekForwardStep: 500 # in ms + playbackRates: + - 1 + - '1.5' + - 3 geocoding-providers: - map-provider: mapboxWebGL diff --git a/lib/classes/patch/410alpha20a.php b/lib/classes/patch/410alpha20a.php index ca07795476..f659ea35e7 100644 --- a/lib/classes/patch/410alpha20a.php +++ b/lib/classes/patch/410alpha20a.php @@ -84,6 +84,13 @@ class patch_410alpha20a implements patchInterface $app['conf']->set(['geocoding-providers', 0, 'map-provider'], $geocodingName); } + // video-editor section change, replace 'vttFieldName' to 'ChapterVttFieldName' + if ($app['conf']->has(['video-editor', 'vttFieldName'])) { + $chapterVttFieldName = $app['conf']->get(['video-editor', 'vttFieldName']); + $app['conf']->remove(['video-editor', 'vttFieldName']); + $app['conf']->set(['video-editor', 'ChapterVttFieldName'], $chapterVttFieldName); + } + // remove registry classic section if exist if ($app['conf']->has(['registry', 'classic'])) { $app['conf']->remove(['registry', 'classic']); diff --git a/lib/conf.d/configuration.yml b/lib/conf.d/configuration.yml index 5de7eebcd6..de1eab7f0a 100644 --- a/lib/conf.d/configuration.yml +++ b/lib/conf.d/configuration.yml @@ -285,7 +285,7 @@ geocoding-providers: provincefields: Province countryfields: 'Country, Pays' video-editor: - vttFieldName: VideoTextTrackChapters + ChapterVttFieldName: VideoTextTrackChapters seekBackwardStep: 500 # in ms seekForwardStep: 500 # in ms playbackRates: