Currently I\'m embedding Youtube videos with the following HAML code in a Twitter Bootstrap based site:
.row .span12 %iframe.span11{ :height => \"720\",
Just to automatize @Bart's answer, I've created a simple Javascript snipped that automatically wraps iframe elements within $(document).ready(function() { $('iframe').each(function() { $(this).wrap(''); }); }); 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
iframe
$(document).ready(function() { $('iframe').each(function() { $(this).wrap(''); }); }); 0 讨论(0) 查看其它6个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
$(document).ready(function() { $('iframe').each(function() { $(this).wrap(''); }); });