Revert "When checking for duration not equals 0, also check if media type is not image and media is not paused."

This reverts commit 4220d0c5decb69cf5430eae54997a527440c09b5.
Fix getDuration method

When checking for duration not equals 0, also check if media type is not image