YouTube has a very good Closed Caption recognition. You just have to enable it for any video you create.
If you want to go a step further, you can force your video to show CC by a few small steps.
- First Enable CC by going to YouTube Creator Studio
- Make a small edit on the CC to “own it”
- Then add a tag in your Info and Settings tab to include yt:cc=on
Here is a video walkthrough of doing this!