<?php $postvideo_vimeo = get_post_meta($post->ID,'lioit_postvideo_v', true); global $smof_data; ?>
<?php $postvideo_youtube = get_post_meta($post->ID,'lioit_postvideo_y', true);?>
<?php $postvideo_dailymotion = get_post_meta($post->ID,'lioit_postvideo_d', true);?>

<?php if($postvideo_vimeo){ ?>
<div class="postTypeWrapper">
    <div class="video">
        <iframe src="http://player.vimeo.com/video/<?php echo esc_html($postvideo_vimeo); ?>?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff" width="670px" height="400px" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
    </div>
</div>

<?php }else if($postvideo_youtube){ ?>
<div class="postTypeWrapper">
    <div class="video">
       <iframe src='http://www.youtube.com/embed/<?php echo esc_html($postvideo_youtube); ?>?HD=1;rel=0;showinfo=0' width='670px' height='400px' class='iframe'></iframe>
    </div>
</div>

<?php }else{ ?>
<div class="postTypeWrapper">
    <div class="video">
       <iframe src='http://www.dailymotion.com/embed/video/<?php echo esc_html($postvideo_dailymotion); ?>?width=$width&amp;autoPlay={$autoplay}&foreground=%23FFFFFF&highlight=%23CCCCCC&background=%23000000&logo=0&hideInfos=1' width='670px' height='400px' class='iframe'></iframe>
    </div>
</div>
<?php } ?>