Version 1.3; added a callback for media controller visibility