new video adding ui + selecting multiple videos
This commit is contained in:
1 parent
047c9e9504
commit
ef444f7c5c
7 files changed
+241
-88
No files matched your search
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// PlayerView.swift
|
||||
// Pocket Poster
|
||||
//
|
||||
// Created by lemin on 6/11/25.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct PlayerView: UIViewRepresentable {
|
||||
var videoURL: URL
|
||||
|
||||
init(videoURL: URL) {
|
||||
self.videoURL = videoURL
|
||||
}
|
||||
|
||||
func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<PlayerView>) {
|
||||
}
|
||||
|
||||
func makeUIView(context: Context) -> UIView {
|
||||
return LoopingPlayerUIView(videoURL: videoURL)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user