diff --git a/assets/js/src/views/media-details.js b/assets/js/src/views/media-details.js index 707dc75..2518884 100644 --- a/assets/js/src/views/media-details.js +++ b/assets/js/src/views/media-details.js @@ -195,9 +195,6 @@ var MediaDetailsView = BrightcoveView.extend({ '" ' + 'embed="' + embedStyle + - '" padding_top="' + - height + - units + '" autoplay="' + autoplay + '" playsinline="' + diff --git a/includes/class-bc-utility.php b/includes/class-bc-utility.php index 4903572..cf26503 100644 --- a/includes/class-bc-utility.php +++ b/includes/class-bc-utility.php @@ -928,7 +928,6 @@ public static function get_video_player( $atts ) { $width = sanitize_text_field( $atts['width'] ); $sizing = sanitize_text_field( $atts['sizing'] ); $min_width = sanitize_text_field( $atts['min_width'] ); - $padding_top = sanitize_text_field( $atts['padding_top'] ); $autoplay = ( 'autoplay' === $atts['autoplay'] ) ? 'autoplay' : ''; $mute = ( 'muted' === $atts['mute'] ) ? 'muted' : ''; $embed = sanitize_text_field( $atts['embed'] ); @@ -970,7 +969,7 @@ public static function get_video_player( $atts ) { else : ?>