Bug 878739 - [video] hideplayer when MediaDB is onunavailable

This is a patch from https://bugzilla.mozilla.org/show_bug.cgi?id=866848 but modified different files on Video app.