proper call to media plugin