<?php if ($wo['media']['type'] == 'message') { ?>
<span onclick="Wo_ResizeVideoPlayer(<?php echo $wo['message']['id'];?>)" class="file-sharing-download-btn file-sharing-resize-btn"> 
<i class="media-download-btn fa fa-arrows-alt"></i>
</span>
<?php } ?>
<a href="<?php echo $wo['media']['filename'];?>" class="file-sharing-download-btn"> 
<i class=" media-download-btn fa fa-download"></i>
</a>
<video controls="" class="media-video-file" name="media" preload="auto">
   <source src="<?php echo $wo['media']['filename'];?>" type="video/mp4">
</video>