fix video error

This commit is contained in:
chiu 2021-09-02 05:18:52 +00:00
parent e9951de4d4
commit b2aa2e15d7
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@
function jplayer_center_video_front(ele){
$(ele).css('margin-left',($(ele).parent().width()-$(ele).width())/2);
if($(ele).parents('.w-ba-banner').length>0){
$(ele).css('margin-top',($(ele).height()-$(ele).parents('.w-ba-banner').eq(-1).height())/2);
$(ele).css('margin-top',($(ele).parents('.w-ba-banner').eq(-1).height()-$(ele).height())/2);
}
$(ele).css('transform','unset');
}