Wenn ich den Code:
Code: Alles auswählen
<style>.iframe-container { position:relative; margin-bottom: 30px; padding-bottom:56.25%; padding-top:25px; height:0; max-width:100%; } .iframe-container iframe { position:absolute; top:0; left:0; width:100%; height:100%; border:none; }</style><div class="iframe-container"><iframe src="https://youtube.com/embed//xxx" allowfullscreen=""></iframe><br /></div>
Code: Alles auswählen
<div class="iframe-container"><iframe src="https://youtube.com/embed//xxx" width="300" height="150" allowfullscreen="allowfullscreen"></iframe><br /></div>
Weiß jemand warum? Ok würde ich wahrscheinlich eh nicht raffen....aber wie müsste der Code lauten, damit ich das Video responsive eingebunden bekomme?