react-native-video-trim 6.0.9 → 6.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/VideoTrim.swift +3 -0
- package/package.json +1 -1
package/ios/VideoTrim.swift
CHANGED
|
@@ -547,6 +547,7 @@ public class VideoTrim: RCTEventEmitter, AssetLoaderDelegate, UIDocumentPickerDe
|
|
|
547
547
|
}
|
|
548
548
|
|
|
549
549
|
let result = [
|
|
550
|
+
"success": true,
|
|
550
551
|
"outputPath": outputFile.absoluteString,
|
|
551
552
|
"startTime": startTime,
|
|
552
553
|
"endTime": endTime,
|
|
@@ -591,6 +592,7 @@ public class VideoTrim: RCTEventEmitter, AssetLoaderDelegate, UIDocumentPickerDe
|
|
|
591
592
|
} else {
|
|
592
593
|
// For audio files, we can't save to photo library, just return success
|
|
593
594
|
let result = [
|
|
595
|
+
"success": true,
|
|
594
596
|
"outputPath": outputFile.absoluteString,
|
|
595
597
|
"startTime": startTime,
|
|
596
598
|
"endTime": endTime,
|
|
@@ -601,6 +603,7 @@ public class VideoTrim: RCTEventEmitter, AssetLoaderDelegate, UIDocumentPickerDe
|
|
|
601
603
|
}
|
|
602
604
|
} else {
|
|
603
605
|
let result = [
|
|
606
|
+
"success": true,
|
|
604
607
|
"outputPath": outputFile.absoluteString,
|
|
605
608
|
"startTime": startTime,
|
|
606
609
|
"endTime": endTime,
|