mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Change on embed bundle handling
This commit is contained in:
@@ -13,16 +13,16 @@
|
||||
<div style="width:{{original_w}}px;height: {{ original_h }}px" class="videoTips">
|
||||
|
||||
<iframe width="100%" height="100%"
|
||||
src="{{ app['request'].baseUrl }}/embed/datafiles/?url={{ url|url_encode }}&autoplay={{ autoplay|default('false') }}"
|
||||
src="{{ url('alchemy_embed_view', ['url': url, 'autoplay': autoplay|default('false')]) }}"
|
||||
frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
{% elseif record_type == 'FLEXPAPER' %}
|
||||
<iframe width="100%" height="100%"
|
||||
src="{{ app['request'].baseUrl }}/embed/datafiles/?url={{ url|url_encode }}&autoplay={{ autoplay|default('false') }}"
|
||||
src="{{ url('alchemy_embed_view', ['url': url, 'autoplay': autoplay|default('false')]) }}"
|
||||
frameborder="0" allowfullscreen></iframe>
|
||||
{% elseif record_type == 'AUDIO_MP3' %}
|
||||
<iframe width="100%" height="100%"
|
||||
src="{{ app['request'].baseUrl }}/embed/datafiles/?url={{ url|url_encode }}&autoplay={{ autoplay|default('false') }}"
|
||||
src="{{ url('alchemy_embed_view', ['url': url, 'autoplay': autoplay|default('false')]) }}"
|
||||
frameborder="0" allowfullscreen></iframe>
|
||||
{% else %}
|
||||
{% set fit_size = fitIn(
|
||||
|
||||
Reference in New Issue
Block a user