<div class="panel-body imagebody imagebody_new">
                <?php 
    get_template_part('templates/property_pictures');
    ?>
            </div>
            
            
            <div class="panel-body video-body">
                <?php 
    $video_id = esc_html(get_post_meta($post->ID, 'embed_video_id', true));
    $video_type = esc_html(get_post_meta($post->ID, 'embed_video_type', true));
    if ($video_id != '') {
        if ($video_type == 'vimeo') {
            echo wpestate_custom_vimdeo_video($video_id);
        } else {
            echo wpestate_custom_youtube_video($video_id);
        }
    }
    ?>
            </div>
     
        </div>
          
 
          
        <!-- property price   -->   
        <div class="panel-wrapper" id="listing_price">
            <a class="panel-title" data-toggle="collapse" data-parent="#accordion_prop_addr" href="#collapseOne"> <span class="panel-title-arrow"></span>
                <?php 
    if ($property_price_text != '') {
        echo $property_price_text;
     $has_video = 1;
     $counter = 1;
     $videoitem = 'videoitem';
     if ($slider_size == 'full') {
         $videoitem = 'videoitem_full';
     }
     $indicators .= '<li data-target="#carousel-listing"  data-video_data="' . $video_type . '" data-video_id="' . $video_id . '"  data-slide-to="0" class="active video_thumb_force">
                      <img src= "' . get_video_thumb($post->ID) . '" alt="video_thumb" class="img-responsive"/>
                      <span class="estate_video_control"><i class="fa fa-play"></i> </span>
                      </li>';
     $round_indicators .= ' <li data-target="#carousel-listing" data-slide-to="0" class="active"></li>';
     $slides .= '<div class="item active ' . $videoitem . '">';
     if ($video_type == 'vimeo') {
         $slides .= wpestate_custom_vimdeo_video($video_id);
     } else {
         $slides .= wpestate_custom_youtube_video($video_id);
     }
     $slides .= '</div>';
 }
 if (has_post_thumbnail()) {
     $counter++;
     $active = '';
     if ($counter == 1 && $has_video != 1) {
         $active = " active ";
     } else {
         $active = " ";
     }
     $post_thumbnail_id = get_post_thumbnail_id($post->ID);
     $preview = wp_get_attachment_image_src($post_thumbnail_id, 'wpestate_slider_thumb');
     if ($slider_size == 'full') {
         $full_img = wp_get_attachment_image_src($post_thumbnail_id, 'listing_full_slider_1');