Remove unused code when download from youtube.
Merge pull request #4105 from edx/alex/remove_unused_code_when_downloading_from_youtube

Remove unused code when download from youtube.