Skip to content

Commit d09b4b6

Browse files
author
kongdywang
committed
Fix the issue that subtitles are not called back on the iOS side without setting config
1 parent 02aaeab commit d09b4b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Flutter/ios/Classes/FTXVodPlayer.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ - (NSNumber*)createPlayer:(BOOL)onlyAudio
190190
NSMutableDictionary<NSString *, id> *newExtInfoMap = [NSMutableDictionary dictionary];
191191
[newExtInfoMap setObject:@(0) forKey:@"450"];
192192
[vodConfig setExtInfoMap:newExtInfoMap];
193+
[_txVodPlayer setConfig:vodConfig];
193194
[self setupPlayerWithBool:onlyAudio];
194195
}
195196
return [NSNumber numberWithLongLong:_textureId];

0 commit comments

Comments
 (0)