← All changes
|
jetpack_vendor/automattic/jetpack-videopress/src/class-initial-state.php
+1
-0
16.2
→
16.3
View file →
| @@ -136,8 +136,9 @@ | ||
| 136 | 136 | // Feature gates mirrored from the PHP-side filters so the client can |
| 137 | 137 | // hide gated UI without a round trip. |
| 138 | 138 | 'features' => array( |
| 139 | 139 | 'chaptersEditor' => Admin_UI::is_chapters_editor_enabled(), |
| 140 | + 'trimCut' => Admin_UI::is_trim_cut_enabled(), | |
| 140 | 141 | ), |
| 141 | 142 | // Authoritative map of accepted upload types (extension => mimetype), |
| 142 | 143 | // so the dashboard's drag-and-drop filter accepts exactly what the |
| 143 | 144 | // VideoPress backend supports rather than guessing client-side. |