Progress report for Media plugin

Fixes CB-7175
the indentation here doesn't match the indentation of the else block below.