mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Fix HTML5 video display in IE
This commit is contained in:
@@ -925,8 +925,15 @@ function set_image_position(smooth, image, width, height, container, callback)
|
||||
}
|
||||
if(typeof callback == 'undefined')
|
||||
{
|
||||
callback = function(){};
|
||||
}
|
||||
callback = function(){
|
||||
$('.videoTips.video-js', $(image).closest('.container')).trigger('resize-video-js');
|
||||
};
|
||||
} else {
|
||||
callback = function(){
|
||||
$('.videoTips.video-js', $(image).closest('.container')).trigger('resize-video-js');
|
||||
callback();
|
||||
};
|
||||
}
|
||||
|
||||
dimensions.width = parseInt(width);
|
||||
dimensions.height = parseInt(height);
|
||||
@@ -1006,6 +1013,8 @@ function scid_click(event, el)
|
||||
.empty()
|
||||
.append(data.options_html);
|
||||
|
||||
$('.videoTips.video-js', $('.container', container)).trigger('unload-video-js');
|
||||
|
||||
$('.container', container).empty()
|
||||
.append(data.preview+data.selector_html+data.note_html);
|
||||
|
||||
|
Reference in New Issue
Block a user