Commit f0a1bebc authored by Frikkie Snyman's avatar Frikkie Snyman
Browse files

return cached asset

parent b0c0ac10
Loading
Loading
Loading
Loading
+1 −1
Changes for ios/Video/RCTVideo.m: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -500,7 +500,7 @@ static int const RCTVideoUnset = -1;
                if (cachedAsset) {
                    DebugLog(@"Playing back uri '%@' from cache", uri);
                    // See note in playerItemForSource about not being able to support text tracks & caching
                    handler([AVPlayerItem playerItemWithAsset:asset]);
                    handler([AVPlayerItem playerItemWithAsset:cachedAsset]);
                    return;
                }
        }