Kaltura closed captioning and SEO

Hello,

Does anyone know if Google is still able to index closed captions on Kaltura videos when the captioning is not being displayed be default? We would like to start incorporating closed captioning to improve the SEO of our videos, but only want to display captioning when the user specifically selects to view captions

Thanks!