Can't get length or size information about a video.
I'm having issues getting the length of VLCMedia as well as the videoSize of the media.
public func updatePlayerURL(url: URL) {
mediaPlayer.stop()
let media = VLCMedia(url: url)
mediaPlayer.media = media
print(media.length.minuteStringValue)
print(mediaPlayer.videoSize)
}
Here are the respective print statement outputs:
Optional("")
(0.0, 0.0)