STK.responsive.optimizeIframes

Wraps the inputted iframes in a div container in order to make the iframes behave better on responsive sites.

  1. jQuery objectselectors

Examples

Input

STK.responsive.optimizeIframes($('.youtube.video'));

Parameters

selectors
The iframe elements to optimize
Type
jQuery object