?> <div class="content_narrow clearfix" id="content"> <?php if (!get_field('wpmt_performance_hide')) { ?> <div class="fd_film"> <div class="fd_trailer"> <?php if (get_field('wpmt_performance_youtube_url')) { ?> <iframe width="640" height="360" src="<?php echo wpmt_get_youtube_embed(get_field('wpmt_performance_youtube_url')) . '?rel=0&showinfo=0'; ?> " frameborder="0" allowfullscreen></iframe> <?php } elseif (get_field('wpmt_performance_image')) { ?> <?php echo wp_get_attachment_image(get_field('wpmt_performance_image'), $size = 'wpmt_image', $icon = false, $attr = array('alt' => get_the_title($post), 'title' => get_the_title($post))); ?> <?php } else { ?> <?php // echo '<img src="http://placehold.it/640x360?text=performance+Image" id="poster">';
?> <div class="content_narrow clearfix" id="content"> <?php if (!get_field('wpmt_film_hide')) { ?> <div class="fd_film"> <div class="fd_trailer"> <?php if (get_field('wpmt_film_youtube_url')) { ?> <iframe width="640" height="360" src="<?php echo wpmt_get_youtube_embed(get_field('wpmt_film_youtube_url')) . '?rel=0&showinfo=0'; ?> " frameborder="0" allowfullscreen></iframe> <?php } elseif (get_field('wpmt_film_image')) { ?> <?php echo wp_get_attachment_image(get_field('wpmt_film_image'), $size = 'wpmt_image', $icon = false, $attr = array('alt' => get_the_title($post), 'title' => get_the_title($post))); ?> <?php } else { ?> <?php //echo '<img src="http://placehold.it/640x360?text=Film+Image" id="poster">';