Fix video-js resize

This commit is contained in:
Romain Neutron
2012-07-16 17:29:54 +02:00
parent 8c51c16bb2
commit a911e0745a
2 changed files with 12 additions and 3 deletions

View File

@@ -498,6 +498,7 @@ function setPreview(){
top: t,
left: l
}).attr('width',w).attr('height',h);
$('#PREVIEWIMGCONT .record').trigger('resize-video-js');
}
function classicMode(){
@@ -527,7 +528,7 @@ function closePreview(){
cancelPreview();
$(this).dequeue();
});
$.each($('#PREVIEWBOX video'), function(i,el){
_V_($(el).attr('id')).destroy();
});