![](https://secure.gravatar.com/avatar/c81e728d9d4c2f636f067f89cc14862c?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
CC button check
if we assume that captions exist for all video files - we could show the caption button without doing a server call. Then, if the user presses the caption button to turn captions on, pause the video and display a message (like "loading captions"). If captions exist, display them. If captions do not exist, show a message ("sorry, captions are not available for this video).