Guest User

Untitled

a guest
Mar 21st, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. //facebook in content
  2. jQuery(document).find('iframe[src*="facebook.com/plugins/video.php"]').each(function() {
  3. var td_video = jQuery(this);
  4. td_video.attr('width', '100%');
  5. var td_video_width = td_video.width();
  6. td_video.css('height', td_video_width * 0.5625, 'important');
  7. td_video.css('max-width', '100%');
  8. });
Advertisement
Add Comment
Please, Sign In to add comment