This commit is contained in:
Fredrik Burmester
2024-10-05 09:29:42 +02:00
parent b25cdce702
commit bf1efd7ca2

View File

@@ -40,9 +40,9 @@ export default function page() {
source={videoSource}
style={{ width: "100%", height: "100%" }}
resizeMode={ignoreSafeArea ? "cover" : "contain"}
onProgress={handleVideoProgress}
onLoad={(data) => (max.value = secondsToTicks(data.duration))}
onError={handleVideoError}
onProgress={() => {}}
onLoad={(data) => {}}
onError={() => {}}
playWhenInactive={true}
allowsExternalPlayback={true}
playInBackground={true}