diff --git a/site/assets/css/sppagebuilder.css b/site/assets/css/sppagebuilder.css index 2c48988..2b24867 100644 --- a/site/assets/css/sppagebuilder.css +++ b/site/assets/css/sppagebuilder.css @@ -2952,3 +2952,9 @@ textarea.sppb-form-control { display: none !important; } } + +/* video fullscreen issue fix */ +.no-animate-fill{ + -webkit-animation-fill-mode: none!important; + animation-fill-mode: none!important; +} diff --git a/site/assets/js/sppagebuilder.js b/site/assets/js/sppagebuilder.js index a5a9830..f8de1ca 100644 --- a/site/assets/js/sppagebuilder.js +++ b/site/assets/js/sppagebuilder.js @@ -2238,7 +2238,8 @@ jQuery(function($) { $this.unbind('inview'); } }); - + + $('.sppb-addon-video').closest('.sppb-addon-container').addClass('no-animate-fill'); // video fullscreen issue fix }); //Ajax Contact Form diff --git a/site/parser/addon-parser.php b/site/parser/addon-parser.php index c58bf0f..7c5c463 100644 --- a/site/parser/addon-parser.php +++ b/site/parser/addon-parser.php @@ -330,7 +330,7 @@ public static function viewAddons( $content, $fullwidth = 0 ){ $column_name = str_replace('column-parent ', '', $column->class_name); $output .= '
'; - $output .= '
'; + $output .= '
'; foreach ($column->attr as $key => $spcode) {