mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
Fix Video JS display
This commit is contained in:
@@ -298,7 +298,7 @@ class media_subdef extends media_abstract implements cache_cacheableInterface
|
|||||||
if ( ! file_exists($this->path . $this->file)) {
|
if ( ! file_exists($this->path . $this->file)) {
|
||||||
$this->path = $registry->get('GV_RootPath') . 'www/skins/icons/';
|
$this->path = $registry->get('GV_RootPath') . 'www/skins/icons/';
|
||||||
$this->file = 'substitution.png';
|
$this->file = 'substitution.png';
|
||||||
$this->url = '/skins/icons/substitution/' . $this->file;
|
$this->url = $this->path . $this->file;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
@@ -527,4 +527,8 @@ function closePreview(){
|
|||||||
cancelPreview();
|
cancelPreview();
|
||||||
$(this).dequeue();
|
$(this).dequeue();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$.each($('#PREVIEWBOX video'), function(i,el){
|
||||||
|
_V_($(el).attr('id')).destroy();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
@@ -585,6 +585,7 @@
|
|||||||
{
|
{
|
||||||
$.tooltip.ajaxRequest.abort();
|
$.tooltip.ajaxRequest.abort();
|
||||||
}
|
}
|
||||||
|
helper.body.empty();
|
||||||
$.tooltip.current = null;
|
$.tooltip.current = null;
|
||||||
function complete() {
|
function complete() {
|
||||||
helper.parent.removeClass( tsettings.extraClass ).hide().css("opacity", "");
|
helper.parent.removeClass( tsettings.extraClass ).hide().css("opacity", "");
|
||||||
@@ -609,6 +610,9 @@ function unfix_tooltip()
|
|||||||
$.tooltip.visible = false;
|
$.tooltip.visible = false;
|
||||||
$.tooltip.current = null;
|
$.tooltip.current = null;
|
||||||
$('#tooltip').hide();
|
$('#tooltip').hide();
|
||||||
|
$.each($('#tooltip video'), function(i,el){
|
||||||
|
_V_($(el).attr('id')).destroy();
|
||||||
|
});
|
||||||
$('#tooltip .tooltip_closer').hide();
|
$('#tooltip .tooltip_closer').hide();
|
||||||
hideOverlay('_tooltip');
|
hideOverlay('_tooltip');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user