Fix Video JS display

This commit is contained in:
grosroro
2012-06-01 19:37:58 +02:00
committed by Romain Neutron
parent 86c0021953
commit 9ca8625aa2
3 changed files with 9 additions and 1 deletions

View File

@@ -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;

View File

@@ -527,4 +527,8 @@ function closePreview(){
cancelPreview();
$(this).dequeue();
});
$.each($('#PREVIEWBOX video'), function(i,el){
_V_($(el).attr('id')).destroy();
});
}

View File

@@ -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');
}