minor refactor to modularize some of the  mediaWidget
minor refactor to modularize some of the  mediaWidget

dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android