mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-01 03:28:27 +01:00
WIP bug fixing
This commit is contained in:
@@ -165,13 +165,13 @@ class VlcPlayerView: ExpoView {
|
||||
|
||||
self.mediaPlayer?.media = media
|
||||
|
||||
if startPosition > 0 {
|
||||
self.mediaPlayer?.time = VLCTime(int: startPosition)
|
||||
}
|
||||
|
||||
if autoplay {
|
||||
print("Playing...")
|
||||
self.play()
|
||||
if startPosition > 0 {
|
||||
print("Debug: Starting at position: \(startPosition)")
|
||||
self.seekTo(startPosition)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user