الاضافه لـ HTML/JavaScript
<div class="videoWrapper">
<iframe width="560" height="349"src="https://www.youtube.com/embed/Mv246MoqfNc" frameborder="0"allowfullscreen></iframe>
</div>
<style>
.videoWrapper {
position: relative;
padding-bottom: 56.25%;
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
}
</style>
وسلامتكم
القسم :
blogger