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:
@@ -225,6 +225,14 @@ embed_bundle:
|
|||||||
document:
|
document:
|
||||||
player: flexpaper
|
player: flexpaper
|
||||||
enable_pdfjs: true
|
enable_pdfjs: true
|
||||||
|
video-editor:
|
||||||
|
ChapterVttFieldName: VideoTextTrackChapters
|
||||||
|
seekBackwardStep: 500 # in ms
|
||||||
|
seekForwardStep: 500 # in ms
|
||||||
|
playbackRates:
|
||||||
|
- 1
|
||||||
|
- '1.5'
|
||||||
|
- 3
|
||||||
geocoding-providers:
|
geocoding-providers:
|
||||||
-
|
-
|
||||||
map-provider: mapboxWebGL
|
map-provider: mapboxWebGL
|
||||||
|
@@ -84,6 +84,13 @@ class patch_410alpha20a implements patchInterface
|
|||||||
$app['conf']->set(['geocoding-providers', 0, 'map-provider'], $geocodingName);
|
$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
|
// remove registry classic section if exist
|
||||||
if ($app['conf']->has(['registry', 'classic'])) {
|
if ($app['conf']->has(['registry', 'classic'])) {
|
||||||
$app['conf']->remove(['registry', 'classic']);
|
$app['conf']->remove(['registry', 'classic']);
|
||||||
|
@@ -285,7 +285,7 @@ geocoding-providers:
|
|||||||
provincefields: Province
|
provincefields: Province
|
||||||
countryfields: 'Country, Pays'
|
countryfields: 'Country, Pays'
|
||||||
video-editor:
|
video-editor:
|
||||||
vttFieldName: VideoTextTrackChapters
|
ChapterVttFieldName: VideoTextTrackChapters
|
||||||
seekBackwardStep: 500 # in ms
|
seekBackwardStep: 500 # in ms
|
||||||
seekForwardStep: 500 # in ms
|
seekForwardStep: 500 # in ms
|
||||||
playbackRates:
|
playbackRates:
|
||||||
|
Reference in New Issue
Block a user