mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
New video details
This commit is contained in:
@@ -72,7 +72,9 @@ struct FixtureEnvironmentObjectsModifier: ViewModifier {
|
||||
#if os(iOS)
|
||||
player.playerSize = .init(width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)
|
||||
#endif
|
||||
player.queue = Video.allFixtures.map { PlayerQueueItem($0) }
|
||||
let local = (1 ... 10).map { Video.local(URL(string: "https://\($0)")!) }
|
||||
let videos = Video.allFixtures + local
|
||||
player.queue = videos.map { PlayerQueueItem($0) }
|
||||
|
||||
return player
|
||||
}
|
||||
|
Reference in New Issue
Block a user