{% video video controls style=max-width:100%;width:100%;height:auto; %}
{% video video controls style=max-width:100%;width:100%;height:auto; %}
</div>
</div>
<divclass='col2'>
<divclass="col2">
<dlstyle='margin-top: 0'>
<dlstyle="margin-top: 0;">
{% if video.thumbnail %}
{% if video.thumbnail %}
<dt>{% trans "Thumbnail" %}</dt>
<dt>{% trans "Thumbnail" %}</dt>
<dd><imgsrc="{{ video.thumbnail.url }}"/></dd>
<dd><imgsrc="{{ video.thumbnail.url }}"alt="{% trans 'Video thumbnail' %}"/></dd>
{% endif %}
{% endif %}
<dt>{% trans "Filesize" %}</dt>
<dt>{% trans "Filesize" %}</dt>
<dd>{% if filesize %}{{ filesize|filesizeformat }}{% else %}{% trans "File not found" %}{% endif %}</dd>
<dd>{% if filesize %}{{ filesize|filesizeformat }}{% else %}{% trans "File not found" %}{% endif %}</dd>
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
</dl>
</dl>
</div>
</div>
</div>
</div>
<divclass="row"style='margin-top: 2em;'>
<divclass="row"style="margin-top: 2em;">
{% if can_transcode %}
{% if can_transcode %}
<h2class="u-text-transform-uppercase">{% trans "Transcodes" %}</h2>
<h2class="u-text-transform-uppercase">{% trans "Transcodes" %}</h2>
<p>{% trans "If you wish to generate HTML5 compliant transcodes use the form below. This may take a while depending on the length of the video." %}</p>
<p>{% trans "If you wish to generate HTML5 compliant transcodes use the form below. This may take a while depending on the length of the video." %}</p>
<spanclass='processing'>{% trans "(Processing... hold tight)" %} </span>
<spanclass="processing">{% trans "(Processing... hold tight)" %} </span>
{% endif %}
{% endif %}
{% if transcode.error_message %}
{% if transcode.error_message %}
<spanclass='transcode-error'>{% trans "ERROR:" %}</span>
<spanclass="transcode-error">{% trans "ERROR:" %}</span>
<divclass='transcode-error'>
<divclass="transcode-error">
<pre> {{ transcode.error_message }}</pre>
<pre> {{ transcode.error_message }}</pre>
</div>
</div>
{% endif %}
{% endif %}
...
@@ -107,13 +107,13 @@
...
@@ -107,13 +107,13 @@
{% include "wagtailadmin/shared/field_as_li.html" with field=transcode_form.media_format li_classes="label-above label-uppercase" %}
{% include "wagtailadmin/shared/field_as_li.html" with field=transcode_form.media_format li_classes="label-above label-uppercase" %}
{% include "wagtailadmin/shared/field_as_li.html" with field=transcode_form.quality li_classes="label-above label-uppercase" %}
{% include "wagtailadmin/shared/field_as_li.html" with field=transcode_form.quality li_classes="label-above label-uppercase" %}
<li>
<li>
<inputclass="button"type='submit'value="{% trans 'Start' %}"/>
<inputclass="button"type="submit"value="{% trans 'Start' %}"/>
</li>
</li>
</ul>
</ul>
</form>
</form>
{% else %}
{% else %}
<br/><br/>
<br/><br/>
<spanclass='transcode-error'>{% trans "Ffmpeg is not found on your server. Please install if you wish to transcode videos into an HTML5 video compliant format." %}</span>
<spanclass="transcode-error">{% trans "Ffmpeg is not found on your server or you have disabled transcodes. Please install Ffmepg and make sure that transcoding is enabled if you wish to transcode videos into an HTML5 video compliant format." %}</span>
{% endif %}
{% endif %}
{% if tracks_action_url %}
{% if tracks_action_url %}
<h2class="u-text-transform-uppercase">{% trans "Tracks" %}</h2>
<h2class="u-text-transform-uppercase">{% trans "Tracks" %}</h2>
...
@@ -124,9 +124,9 @@
...
@@ -124,9 +124,9 @@
<li>{{ track }}</li>
<li>{{ track }}</li>
{% endfor %}
{% endfor %}
</ul>
</ul>
<aclass='button'href="{{ tracks_action_url }}">{% trans "Edit" %}</a>
<aclass="button"href="{{ tracks_action_url }}">{% trans "Edit" %}</a>
{% else %}
{% else %}
<aclass='button'href="{{ tracks_action_url }}">{% trans "Add tracks" %}</a>
<aclass="button"href="{{ tracks_action_url }}">{% trans "Add tracks" %}</a>