How to handle {\an8} in subtitles?

Hello,


I 'm currently using the AVPlayer framework in my app to stream movies (.m3u8 files).

The player has a subtitles feature that works fine except the player sometimes shows {\an8} characters in the subtitles.

It's a SRT command that should display the subtitles at the top of the video, but it's not working on iOS (I even tried with a MPMovieController in Safari).


Is there something I am missing? Or should I parse the subtitles from the SRT file myself and display the text when needed on top of the video?


Thanks in advance for your help!

How to handle {\an8} in subtitles?
 
 
Q