Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //facebook in content
- jQuery(document).find('iframe[src*="facebook.com/plugins/video.php"]').each(function() {
- var td_video = jQuery(this);
- td_video.attr('width', '100%');
- var td_video_width = td_video.width();
- td_video.css('height', td_video_width * 0.5625, 'important');
- td_video.css('max-width', '100%');
- });
Advertisement
Add Comment
Please, Sign In to add comment