mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +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)) {
|
||||
$this->path = $registry->get('GV_RootPath') . 'www/skins/icons/';
|
||||
$this->file = 'substitution.png';
|
||||
$this->url = '/skins/icons/substitution/' . $this->file;
|
||||
$this->url = $this->path . $this->file;
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
@@ -527,4 +527,8 @@ function closePreview(){
|
||||
cancelPreview();
|
||||
$(this).dequeue();
|
||||
});
|
||||
|
||||
$.each($('#PREVIEWBOX video'), function(i,el){
|
||||
_V_($(el).attr('id')).destroy();
|
||||
});
|
||||
}
|
||||
|
@@ -585,6 +585,7 @@
|
||||
{
|
||||
$.tooltip.ajaxRequest.abort();
|
||||
}
|
||||
helper.body.empty();
|
||||
$.tooltip.current = null;
|
||||
function complete() {
|
||||
helper.parent.removeClass( tsettings.extraClass ).hide().css("opacity", "");
|
||||
@@ -609,6 +610,9 @@ function unfix_tooltip()
|
||||
$.tooltip.visible = false;
|
||||
$.tooltip.current = null;
|
||||
$('#tooltip').hide();
|
||||
$.each($('#tooltip video'), function(i,el){
|
||||
_V_($(el).attr('id')).destroy();
|
||||
});
|
||||
$('#tooltip .tooltip_closer').hide();
|
||||
hideOverlay('_tooltip');
|
||||
}
|
||||
|
Reference in New Issue
Block a user