MediaEmbed: rearranged code in wget()