Skip to content

Commit

Permalink
video fullscreen issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
nayemmajhar committed May 31, 2016
1 parent 2a3eb18 commit 96d9623
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions site/assets/css/sppagebuilder.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
3 changes: 2 additions & 1 deletion site/assets/js/sppagebuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion site/parser/addon-parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public static function viewAddons( $content, $fullwidth = 0 ){
$column_name = str_replace('column-parent ', '', $column->class_name);

$output .= '<div class="sppb-'.str_replace('active-column-parent', '', $column_name). '">';
$output .= '<div class="sppb-addon-container'.$col_class.'" '.$col_style.$data_attr.'>';
$output .= '<div class="sppb-addon-container '.$col_class.'" '.$col_style.$data_attr.'>';

foreach ($column->attr as $key => $spcode)
{
Expand Down

4 comments on commit 96d9623

@uburoibob1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, for this, but it doesn't seem to work. The addon-parser.php causes my entire Pagebuilder layout to become unformatted. And the only difference I see between the two lines of code in that is an odd space after sppb-addon-container.

I have the css and js in place, but it makes no difference.

Here is the URL if you'd care to take a look: http://wheatstone.com

@uburoibob1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is a screen shot of what I am trying to fix:

screen shot 2016-05-31 at 10 10 00 am

@nayemmajhar
Copy link
Contributor Author

@nayemmajhar nayemmajhar commented on 96d9623 May 31, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nayemmajhar
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.