mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-3116 : video tools : add tab video subtitle
This commit is contained in:
@@ -29,6 +29,11 @@
|
|||||||
{{ "video range extractor" | trans }}
|
{{ "video range extractor" | trans }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#subtitleEditor">
|
||||||
|
{{ "prod:videoeditor:subtitletab:: title" | trans }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -158,6 +163,41 @@
|
|||||||
<div id="rangeExtractor" class="">
|
<div id="rangeExtractor" class="">
|
||||||
<div class="video-range-editor-container"></div>
|
<div class="video-range-editor-container"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="subtitleEditor" class="subtitleEditor video-subtitle-editor-container">
|
||||||
|
<div class="video-subtitle-top">
|
||||||
|
<form>
|
||||||
|
<label>{{ "prod:videoeditor:subtitletab:: work on" | trans }}</label>
|
||||||
|
<select name="subtitleLanguage" >
|
||||||
|
<option value="fr">Fr</option>
|
||||||
|
<option value="en">En</option>
|
||||||
|
<option value="de">De</option>
|
||||||
|
</select>
|
||||||
|
<input type="submit" class="btn btn-blue submit-language" value="{{ "prod:videoeditor:subtitletab:btn:: save language" | trans }}"/>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<div class="video-subtitle-bottom">
|
||||||
|
<div class="video-subtitle-left">
|
||||||
|
<div class="video-subtitle-left-inner">
|
||||||
|
<h3>{{ "prod:videoeditor:subtitletab:: left block title" | trans }}</h3>
|
||||||
|
<div class="fields-wrapper">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<button class="add-subtitle-vtt" tabindex="0" type="button" aria-label="Add VTT">
|
||||||
|
<i class="fa fa-plus"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="video-subtitle-right">
|
||||||
|
<div class="video-subtitle-wrapper">
|
||||||
|
<video class="thumb_video" controls="" preload="auto" data-ratio="{{ prevRatio }}">
|
||||||
|
{% for subdef in previewHtml5 %}
|
||||||
|
<source type="{{ subdef.get_mime() }}" src="{{ subdef.get_url() }}"/>
|
||||||
|
{% endfor %}
|
||||||
|
{{ 'No preview available' | trans }}
|
||||||
|
</video>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user