fix(android): preload is never called

This commit is contained in:
Krzysztof Moch
2025-05-15 15:25:09 +02:00
parent 5de9b9a541
commit bae799523b
2 changed files with 1 additions and 5 deletions
@@ -250,10 +250,6 @@ class HybridVideoPlayer() : HybridVideoPlayerSpec() {
override fun preload(): Promise<Unit> {
return Promise.async {
if (status == VideoPlayerStatus.IDLE) {
return@async
}
runOnMainThreadSync {
if (player == null) {
initializePlayer()
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "react-native-video",
"version": "7.0.0-dev.8",
"version": "7.0.0-dev.9",
"description": "<Video /> Component for React Native",
"source": "./src/index.tsx",
"main": "./lib/commonjs/index.js",