added media events on components