Use proper setting of mediaPlayer attribute

The `scope[mediaName]` attribution doesn't work for nested scopes. By using the `$parse` service, it is possible to assign the mediaName to a "parent" scope using dot notation: `media-player = a.b.c`. My specific use case is mixing this directive with `bg-splitter` directive.