adds padding to all iframes
-
This works great for videos, but if you have other iframes which aren’t videos, id adds unnecessary padding.
To avoid this, the js should be updated to have a more specific selector, such as iframe[allowfullscreen=”allowfullscreen”] or iframe[src*=youtube] to specifically target videos – not sure how to handle gmaps, etc…
- The topic ‘adds padding to all iframes’ is closed to new replies.