'', 'visibility' => '', 'url' => 'https://www.youtube.com/watch?v=AoPiLg8DZ3A', 'height' => '56.25%', 'depth' => '', 'depth_hover' => '' ), $atts)); $classes = array('video', 'video-fit', 'mb'); if ($class) $classes[] = $class; if ($visibility) $classes[] = $visibility; // start custom $is_pt0 = "pt-0"; if (str_contains($url, 'youtube.com')) { $is_pt0 = ""; } if (str_contains($url, 'youtu.be')) { $is_pt0 = ""; } if (str_contains($url, 'vimeo.com')) { $is_pt0 = ""; } if (adminz_flatsome_is_ux_builder()) { $is_pt0 = ''; } if ($is_pt0) $classes[] = $is_pt0; // end custom $video = apply_filters('the_content', $url); if ($depth) $classes[] = 'box-shadow-' . $depth; if ($depth_hover) $classes[] = 'box-shadow-' . $depth_hover . '-hover'; $classes = implode(' ', $classes); $height = array( array('attribute' => 'padding-top', 'value' => $height), ); return '