Closed ogezue closed 4 years ago
Unfortunately, there isn’t.
are there alternatives?
@ogezue You will most likely have to do download the video and then process it by adding the subtitles manually. If you want to show then while streaming (which is what you seem that you want) then you will have to build additional custom work.
I don't have any idea how to achieve this. Can you point me into the right direction? Why is it working in Browser?
@ogezue You can use YouTube API for downloading subtiles and integrating manually to the AVAsset. You also can use an alternative player like VLC or ffmpeg, it may be more easy to integrate subtiles.
I have enabled to display subtitles on my youtube settings for every video, but I don't get them in AVPlayer. Is there a setting in XCDYoutubeKit to enable them?