react-native-video-trim 1.0.18 → 1.0.19

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.
@@ -250,6 +250,9 @@ class VideoTrimmerViewController: UIViewController {
250
250
 
251
251
  timeObserverToken = player.addPeriodicTimeObserver(forInterval: CMTime(value: 1, timescale: 30), queue: .main) { [weak self] time in
252
252
  guard let self = self else {return}
253
+
254
+ currentTimeLabel.text = player.currentTime().displayString
255
+
253
256
  // when we're not trimming, the players starting point is actual later than the trimmer,
254
257
  // (because the vidoe has been trimmed), so we need to account for that.
255
258
  // When we're trimming, we always show the full video
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-video-trim",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Video trimmer for your React Native app",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",