2013-12-14 24 views
2

这里是jsfiddle:http://jsfiddle.net/xibalbian/qbq8S/embedded/result/ 我想要实现发送到右边没有打破敏感的视频。这段代码有什么问题(响应html-css-js)?

<section id="full-video"> 
    <div class="video-wrapper"> 
     <div class="video-container"> 
      <iframe width="640" height="480" src="//www.youtube.com/embed/WeYsTmIzjkw?rel=0" marginheight="0" marginwidth="0" frameborder="0" allowfullscreen></iframe> 
     </div> 
    </div> 
</section> 
<aside id="social" class="margin2"> 
    <a href="www.example.com" class="indiegogo" data-lang="en"><img src="img/indie.png" style='width:auto; max-width:200px;' border="0"></a> 
    <a href="www.facebook.com/examplepage" class="fbgroup" data-lang="en"><img src="img/fbgroup.png" style='width:auto; max-width:200px;'></a> 
    <div class="twitter-follow-button"><a href="https://twitter.com/arterast" class="twitter-follow-button" data-show-count="false" data-lang="en">Follow</a></div> 
    <div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div> 
    <div class="twitter-share-button"><a href="https://twitter.com/share" class="twitter-share-button" data-lang="en">Tweet</a></div> 
    <div class="g-plusone"></div> 
</aside> 

布局没问题,放在右边。但视频不响应。

当我改变<section id="full-video"><section id="full-video margin">

(这里是为小提琴:http://jsfiddle.net/xibalbian/72wG5/#base)......视频行为响应,但随后在视频下方的是,除了去... 的代码也不是那么好,但我正在努力提高自己,对此感到遗憾。 我错过了什么?

+0

如果通过“回应,”你的意思是视频的大小应该改变基于浏览器窗口大小,你将有一个很难做到这一点,当你解决了含'