Instagram is a mobile application that allows users to share media through the app or other social networking platforms.
Marfeel employs the Instagram iframe embed feature to display an Instagram post.
To implement the Instagram extension, Marfeel copies the iframe on the frontend along with its source.
On the backend, Marfeel inspects if the class of an element identified in an article is the class related to Instagram embeds. If it is, Marfeel displays the according iframe on the frontend.
The iframe's source is only loaded when it's inside the viewport.