mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
change vttFieldName to ChapterVttFieldName in configuration
This commit is contained in:
@@ -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']);
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user