![](https://secure.gravatar.com/avatar/3ef583be6071497246a325688ebecc11?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Unable to load caption ios
I've been trying to load SRT file from within the app by doing so but with no success.
[[JWTrack alloc] initWithFile:[[NSBundle mainBundle] pathForResource:@"caption" ofType:@"srt"] label:@"english" isDefault:YES];
However, I'm able to load a SRT file that is hosted online
[[JWTrack alloc] initWithFile:@"http://playertest.longtailvideo.com/caption-files/sintel-en.srt" label:@"english" isDefault:YES];
Am I missing something or loading the SRT from the bundle wrongly?