We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7693701 commit b6bc98bCopy full SHA for b6bc98b
src/ios/CDVSound.m
@@ -264,6 +264,8 @@ - (void)create:(CDVInvokedUrlCommand*)command
264
265
// Pass the AVPlayerItem to a new player
266
avPlayer = [[AVPlayer alloc] initWithPlayerItem:playerItem];
267
+ // don't download whole file before playing
268
+ avPlayer.automaticallyWaitsToMinimizeStalling = false;
269
270
//avPlayer = [[AVPlayer alloc] initWithURL:resourceUrl];
271
}
0 commit comments