adding media plugin