PHRAs-3116 : save video caption field

This commit is contained in:
Harrys Ravalomanana
2020-06-16 12:09:38 +04:00
parent f84b5a2c4e
commit 5c5078c36f
2 changed files with 3 additions and 2 deletions

View File

@@ -155,6 +155,8 @@ class LanguageController
'description notice' => $translator->trans('prod:mapboxgl: description notice'), 'description notice' => $translator->trans('prod:mapboxgl: description notice'),
'title-map-dialog' => $translator->trans('prod:mapboxgl: title map dialog'), 'title-map-dialog' => $translator->trans('prod:mapboxgl: title map dialog'),
'create new user' => $translator->trans('prod:push: create new user'), 'create new user' => $translator->trans('prod:push: create new user'),
'prod:videoeditor:subtitletab:messsage:: error' => $translator->trans('prod:videoeditor:subtitletab:messsage:: error'),
'prod:videoeditor:subtitletab:messsage:: success' => $translator->trans('prod:videoeditor:subtitletab:messsage:: success'),
]); ]);
} }
} }

View File

@@ -183,7 +183,7 @@
<form name="video_subtitle_data" id="video-subtitle-data"> <form name="video_subtitle_data" id="video-subtitle-data">
<div class="video-subtitle-top"> <div class="video-subtitle-top">
<label>{{ "prod:videoeditor:subtitletab:: work on" | trans }}</label> <label>{{ "prod:videoeditor:subtitletab:: work on" | trans }}</label>
<select name="meta_struct_id" id="subtitle-language-select"> <select name="meta_struct_id" id="metaStructId">
{% for videoTextTrackField in videoTextTrackFields %} {% for videoTextTrackField in videoTextTrackFields %}
<option value="{{ videoTextTrackField.meta_struct_id}}">{{ videoTextTrackField.label}}</option> <option value="{{ videoTextTrackField.meta_struct_id}}">{{ videoTextTrackField.label}}</option>
{% endfor %} {% endfor %}
@@ -192,7 +192,6 @@
</div> </div>
<input type="hidden" value='{{ record.get_sbas_id() }}' name='databox_id'> <input type="hidden" value='{{ record.get_sbas_id() }}' name='databox_id'>
<input type="hidden" value='{{ record.get_record_id() }}' name='record_id'> <input type="hidden" value='{{ record.get_record_id() }}' name='record_id'>
<input type="text" id="record-vtt" name='value'>
</form> </form>
<form name="video_subtitle_list" id="video-subtitle-list"> <form name="video_subtitle_list" id="video-subtitle-list">
<div class="video-subtitle-bottom"> <div class="video-subtitle-bottom">