added data-media & data-interaction support