示例代码:
<script src="path/to/jquery.min.js"></script><script src="path/to/jquery.fitvids.js"></script><script>$(document).ready(function(){ // Target your .container, .wrapper, .post, etc. $("#thing-with-videos").fitVids()})</script>
我一般用<script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
<script
src="http://cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script
src="http://cdn.bootcss.com/fitvids/1.1.0/jquery.fitvids.min.js"></script>
<script src="http://cdn.bootcss.com/highlight.js/8.5/highlight.min.js"></script>
望采纳!