function epl_get_video_html($property_video_url = '', $width = 600) { if ($property_video_url != '') { $videoID = epl_get_youtube_id_from_url($property_video_url); $video_html = '<div class="epl-video-container videoContainer">'; $video_html .= wp_oembed_get('http://www.youtube.com/watch?v=' . $videoID, array('width' => apply_filters('epl_property_video_width', $width))); $video_html .= '</div>'; return $video_html; } }
// the_permalink(); ?> "> <?php // the_title(); ?> </a> </h1>--> </div> <!-- post content --> <div class="entry-content clearfix"> <?php //Video if ($location_profile_video_url != '') { $videoID = epl_get_youtube_id_from_url($location_profile_video_url); $video = '<div style="width: 500px;float:right;margin-left:15px;" class="videoContainer">' . wp_oembed_get('http://www.youtube.com/watch?v=' . $videoID, array('width' => 600)) . '</div>'; } echo apply_filters('the_content', $video); ?> <?php if (function_exists('epl_the_content')) { epl_the_content(); } else { the_content(); } ?> <!-- Location Profile Tab --> <div class="tab-wrapper">