mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Merge branch 'master' into fix/update-default-php-version-for-master
This commit is contained in:
12
composer.lock
generated
12
composer.lock
generated
@@ -131,16 +131,16 @@
|
||||
},
|
||||
{
|
||||
"name": "alchemy/embed-bundle",
|
||||
"version": "0.3.7",
|
||||
"version": "0.3.8",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/alchemy-fr/embed-bundle.git",
|
||||
"reference": "ce7408c7a47387eed3df2a743577d6e0e25f991f"
|
||||
"reference": "8a9699bc51e2b2997ccfd357bb2892f3702c33ef"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/alchemy-fr/embed-bundle/zipball/ce7408c7a47387eed3df2a743577d6e0e25f991f",
|
||||
"reference": "ce7408c7a47387eed3df2a743577d6e0e25f991f",
|
||||
"url": "https://api.github.com/repos/alchemy-fr/embed-bundle/zipball/8a9699bc51e2b2997ccfd357bb2892f3702c33ef",
|
||||
"reference": "8a9699bc51e2b2997ccfd357bb2892f3702c33ef",
|
||||
"shasum": ""
|
||||
},
|
||||
"require-dev": {
|
||||
@@ -178,10 +178,10 @@
|
||||
],
|
||||
"description": "Embed resources bundle",
|
||||
"support": {
|
||||
"source": "https://github.com/alchemy-fr/embed-bundle/tree/0.3.7",
|
||||
"source": "https://github.com/alchemy-fr/embed-bundle/tree/0.3.8",
|
||||
"issues": "https://github.com/alchemy-fr/embed-bundle/issues"
|
||||
},
|
||||
"time": "2017-05-30T13:18:21+00:00"
|
||||
"time": "2019-01-11T10:35:41+00:00"
|
||||
},
|
||||
{
|
||||
"name": "alchemy/geonames-api-consumer",
|
||||
|
@@ -89,6 +89,7 @@ class media_subdef extends media_abstract implements cache_cacheableInterface
|
||||
const TYPE_AUDIO_MP3 = 'AUDIO_MP3';
|
||||
const TYPE_IMAGE = 'IMAGE';
|
||||
const TYPE_NO_PLAYER = 'UNKNOWN';
|
||||
const TYPE_PDF = 'PDF';
|
||||
|
||||
/*
|
||||
* Technical datas types constants
|
||||
@@ -407,6 +408,7 @@ class media_subdef extends media_abstract implements cache_cacheableInterface
|
||||
{
|
||||
static $types = [
|
||||
'application/x-shockwave-flash' => self::TYPE_FLEXPAPER,
|
||||
'application/pdf' => self::TYPE_PDF,
|
||||
'audio/mp3' => self::TYPE_AUDIO_MP3,
|
||||
'audio/mpeg' => self::TYPE_AUDIO_MP3,
|
||||
'image/gif' => self::TYPE_IMAGE,
|
||||
|
@@ -148,7 +148,7 @@
|
||||
</subdef>
|
||||
<subdef class="preview" name="preview" downloadable="false">
|
||||
<path>{{datapathnoweb}}{{basename}}/subdefs</path>
|
||||
<mediatype>flexpaper</mediatype>
|
||||
<mediatype>pdf</mediatype>
|
||||
<writeDatas>no</writeDatas>
|
||||
<devices>screen</devices>
|
||||
<label lang="fr">Prévisualisation</label>
|
||||
|
@@ -148,7 +148,7 @@
|
||||
</subdef>
|
||||
<subdef class="preview" name="preview" downloadable="false">
|
||||
<path>{{datapathnoweb}}{{basename}}/subdefs</path>
|
||||
<mediatype>flexpaper</mediatype>
|
||||
<mediatype>pdf</mediatype>
|
||||
<writeDatas>no</writeDatas>
|
||||
<devices>screen</devices>
|
||||
<label lang="fr">Prévisualisation</label>
|
||||
|
@@ -148,7 +148,7 @@
|
||||
</subdef>
|
||||
<subdef class="preview" name="preview" downloadable="false">
|
||||
<path>{{datapathnoweb}}{{basename}}/subdefs</path>
|
||||
<mediatype>flexpaper</mediatype>
|
||||
<mediatype>pdf</mediatype>
|
||||
<writeDatas>no</writeDatas>
|
||||
<devices>screen</devices>
|
||||
<label lang="fr">Prévisualisation</label>
|
||||
|
@@ -19,7 +19,7 @@
|
||||
src="{{ url('alchemy_embed_view', {url: url|trim, autoplay: autoplay|default('false') }) }}"
|
||||
frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
{% elseif record_type == 'FLEXPAPER' %}
|
||||
{% elseif record_type == 'FLEXPAPER' or record_type == 'PDF' %}
|
||||
<div id="phraseanet-embed-frame" class="documentTips"
|
||||
data-original-width="{{original_w}}"
|
||||
data-original-height="{{original_h}}"
|
||||
|
Reference in New Issue
Block a user