BLD-950: Update captions logic on front-end.
Merge pull request #3128 from edx/anton/transcript-generation

Update captions logic on front-end.