Video Feed With SwiftUI + Firebase | Async/Await
ฝัง
- เผยแพร่เมื่อ 15 พ.ค. 2023
- In this video we'll dive into how to upload/download videos with SwiftUI & Firebase, and how to display videos in a feed!
🖥️ RESOURCES
🔴 Become a member for lifetime access to source code:
www.stephancodes.com/blank-page
🖥️ COURSES & SOURCE CODE FILES
👉 Pro Courses:
www.stephancodes.com/videos
👉 iOS App Templates:
www.stephancodes.com/shop
👉 FREE UBER SwiftUI Course
• 🔴 Let's Build UBER wit...
👉 FREE Crypto SwiftUI Course
• Free iOS Development C...
👉 FREE Twitter SwiftUI Course
• 🔴 Let's Build Twitter ... - วิทยาศาสตร์และเทคโนโลยี
You're my sensei 🙏, thank you so much
Legend, I've been trying to implement it in my app for ages.
if you have a problem getting the downloaded videos into the simulator, you might have to move them from downloads to a different folder before dragging them in. Not sure why but that worked for me.
Love when you create videos about stuff no one else did. Really appreciate the latest uploads. Gonna buy diamond membership soon!!
Btw I noticed the messenger course at the end, damn man so much stuff to learn 🙏🙏
I mean I think im in love with your explanations
Is it possible to make a reactive caching mechanism for videos like with Kingfisher for images to save bandwidth of the storage?
Bro you for got to add the id parameter to the FOREACH function.
Love your videos 🙏
Which one would you prefer for backend data storage, iCloud or Firebase. The reason why I’m asking is that iCloud could be essentially free if used properly. Thank you
can we except any full pledge course?
can you make a mini player interaction like spotify
I followed the steps, I can get my video uploaded but the video doen't displayed on the screen, does anyone know what is wrong
Great content! Can you do an Airbnb clone with swift and firebase 🙏
pls more!!!
Is it part1?
hey! i receive this error "2023-05-20 00:22:31.084129+0600 SwiftUIVideoFeed[39564:1081479] HTTP/2 terminating broken Connection 4, last success 255417s ago, consecutive failures 11".
Great video. NB for me self.videos = snapshot.documents.compactMap({ try? $0.data(as: Video.self) }) was not working ?
a quick fix is to install the exact firebase version in the video - 10.9.0
idk how to do it with the latest version of firebase tho
When i was writing a code func fetchVideos() async throws { self.videos = snapshot.documents.compactMap({ try? $0.data(as: Video.self(videoUrl: videos) })
} it didn’t work.
I had the same problem. i had to do it manually
for doc in snapshot.documents {
let video = Video(videoUrl: doc.data()["video_url"] as! String)
print(video)
self.videos.append(video)
}