[ted] Add support for external videos (fixes #3948)