示例代码:
<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>
wmv格式需要mediaplayer支持。兼容性不好。建议用ckplayer、cuplayer、jPlayer等插件,然后转为mp4格式,兼容性更好。jPlayer还可以默认适配IOS客户端,其他FLASH播放器可能需要自己写适配IOS。