expo-libvlc-player 7.0.22 → 7.0.24
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/README.md +3 -3
- package/ios/LibVlcPlayerView.swift +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img alt="VLC icon" src="
|
|
2
|
+
<img alt="VLC icon" src="example/assets/vlc.png">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<h1 align="center">LibVLC Player for Expo</h1>
|
|
@@ -293,9 +293,9 @@ The current workaround attaches the View back but this causes a brief black scre
|
|
|
293
293
|
|
|
294
294
|
https://code.videolan.org/videolan/vlc-android/-/issues/1495
|
|
295
295
|
|
|
296
|
-
On iOS, the `VLCKit` player
|
|
296
|
+
On iOS, the `VLCKit` player loses the current video track after pausing in the background.
|
|
297
297
|
|
|
298
|
-
The current workaround
|
|
298
|
+
The current workaround restores the selected video track but this causes a brief black screen.
|
|
299
299
|
|
|
300
300
|
https://code.videolan.org/videolan/VLCKit/-/issues/743
|
|
301
301
|
|
|
@@ -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
|
-
|
|
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() {
|