expo-libvlc-player 7.0.22 → 7.0.23

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.
@@ -438,9 +438,15 @@ class LibVlcPlayerView: ExpoView {
438
438
  else { return }
439
439
 
440
440
  player.pause()
441
+
441
442
  videoTrack.isSelected = false
442
443
  videoTrack.isSelectedExclusively = true
443
- DispatchQueue.main.async { player.time = VLCTime(int: player.time.intValue) }
444
+
445
+ DispatchQueue.main.async {
446
+ if player.isSeekable {
447
+ player.time = VLCTime(int: player.time.intValue)
448
+ }
449
+ }
444
450
  }
445
451
 
446
452
  func stop() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-libvlc-player",
3
- "version": "7.0.22",
3
+ "version": "7.0.23",
4
4
  "description": "LibVLC Player for Expo",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",