adding support to multiple media links