mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Video playback progress and restoring time for previously played
This commit is contained in:
@@ -25,7 +25,7 @@ struct PlayerQueueRow: View {
|
||||
}
|
||||
}
|
||||
} label: {
|
||||
VideoBanner(video: item.video)
|
||||
VideoBanner(video: item.video, playbackTime: item.playbackTime, videoDuration: item.videoDuration)
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
}
|
||||
|
@@ -211,7 +211,7 @@ struct VideoDetails: View {
|
||||
|
||||
var publishedDateSection: some View {
|
||||
Group {
|
||||
if let video = player.currentItem.video {
|
||||
if let video = player.currentVideo {
|
||||
HStack(spacing: 4) {
|
||||
if let published = video.publishedDate {
|
||||
Text(published)
|
||||
@@ -235,7 +235,7 @@ struct VideoDetails: View {
|
||||
|
||||
var countsSection: some View {
|
||||
Group {
|
||||
if let video = player.currentItem.video {
|
||||
if let video = player.currentVideo {
|
||||
HStack {
|
||||
Spacer()
|
||||
|
||||
|
Reference in New Issue
Block a user