mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix #1660 video scale preview on ipad in lightbox
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
||||
<meta name="viewport" content="initial-scale=1">
|
||||
<title>{{ app['phraseanet.registry'].get('GV_homeTitle') }} - {{ module_name }} </title>
|
||||
<link rel="stylesheet" href="{{ path('minifier', { 'f' : 'include/jslibs/jquery.mobile-1.2.1/jquery.mobile-1.2.1.css' }) }}" />
|
||||
<script src="{{ path('minifier', { 'f' : 'assets/jquery/jquery.js' }) }}"></script>
|
||||
|
@@ -34,7 +34,7 @@
|
||||
{% set random = thumbnail.get_random() %}
|
||||
<div class="record record_video imgTips" style="width:{{d_width|round}}px;height:{{d_height|round}}px;top:{{top|round}}px;">
|
||||
<video type="video/mp4" controls="controls" style="width:{{d_width|round}}px;height:{{d_height|round}}px;" autoplay="autoplay">
|
||||
<source src="{{thumbnail.get_url()}}" type="video/mp4"></source>
|
||||
<source src="{{thumbnail.get_url()}}" type="video/mp4" />
|
||||
</video>
|
||||
</div>
|
||||
{% elseif record_type == 'FLEXPAPER' %}
|
||||
@@ -79,8 +79,8 @@
|
||||
{% if record_type == 'VIDEO_MP4' or record_type == 'VIDEO_FLV' %}
|
||||
{% set random = thumbnail.get_random() %}
|
||||
<div class="record record_video imgTips">
|
||||
<video type="video/mp4" controls="controls" style="height:100%;" autoplay="autoplay">
|
||||
<source src="{{thumbnail.get_url()}}" type="video/mp4"></source>
|
||||
<video type="video/mp4" controls="controls" style="height:80%;width:80%;max-height: 80%;max-width:80%; margin: 0 auto" autoplay="autoplay">
|
||||
<source src="{{thumbnail.get_url()}}" type="video/mp4" />
|
||||
</video>
|
||||
</div>
|
||||
{% elseif record_type == 'FLEXPAPER' %}
|
||||
|
Reference in New Issue
Block a user