Changeset 1716671
- Timestamp:
- 08/20/2017 04:08:24 PM (9 years ago)
- File:
-
- 1 edited
-
helpful-features/trunk/helpful-features.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
helpful-features/trunk/helpful-features.php
r1715436 r1716671 3947 3947 } 3948 3948 // Sudo Slider 3949 if(get_option('hefe_sudo_slider_customizer_control_enqueue _v3')){3949 if(get_option('hefe_sudo_slider_customizer_control_enqueue')){ 3950 3950 wp_enqueue_style('hefe-sudo-slider-etc-style', hefe_dir_url.'css/hefe-sudo-slider-etc-style.css', array(), '1.0.0', 'all'); 3951 3951 } … … 6917 6917 } 6918 6918 } 6919 return '<div id="'.esc_attr($a['id']).'" class="hefe-banner '.esc_attr($a['class']).'" style="min-height: '.esc_attr($a['height']).'px;" '.esc_attr($a['etc']).'>'.do_shortcode($content).'<video class="hefe-banner-video" autoplay loop muted >'.$webm_url.' '.$mp4_url.' '.$ogg_url.' '.$ogv_url.'</video>'.'</div>';6919 return '<div id="'.esc_attr($a['id']).'" class="hefe-banner '.esc_attr($a['class']).'" style="min-height: '.esc_attr($a['height']).'px;" '.esc_attr($a['etc']).'>'.do_shortcode($content).'<video class="hefe-banner-video" autoplay loop muted playsinline>'.$webm_url.' '.$mp4_url.' '.$ogg_url.' '.$ogv_url.'</video>'.'</div>'; 6920 6920 }elseif(strpos($banner_src, 'vimeo.com') !== false){ 6921 6921 preg_match("/(https?:\/\/)?(www\.)?(player\.)?vimeo\.com\/([a-z]*\/)*([0-9]{6,11})[?]?.*/", $banner_src, $hefe_return_id);
Note: See TracChangeset
for help on using the changeset viewer.