I search for some solution here but i dont manage to make it work
Code: Select all
<?php endif; ?>
<?php if($file_source=='embed'): ?>
<!-- play from embed url -->
<style type="text/css">
.video-embed-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}
.video-embed-container iframe,
.video-embed-container object,
.video-embed-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
<div class="video-embed-container"><iframe class="responsive-embed-item" src="<?php echo $file_url; ?>" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe></div>
<?php endif; ?>
<?php else: ?>