Skip to content Skip to sidebar Skip to footer

Downloading List Of Files From Firebase Storage

In my app I want to show a list of videos.For that I am looking for a storage option as backend and I found Firebase Storage which can store videos and images. But how can i fetch

Solution 1:

The simplest way to achieve this is to store your links in a Firebase database. Every time you add an image/video to Firebase Storage, add also a reference to that file in the Firebase database.

Your database should look like this:

Firebase-root
    |
    --- videos
          |
          --- videoId1
          |      |
          |      --- videoLink: "https://..."
          |      |
          |      --- thumbnailLink: "https://..."
          |
          --- videoId2
          |      |
          |      --- videoLink: "https://..."
          |      |
          |      --- thumbnailLink: "https://..."
          |
          --- videoId3
                 |
                 --- videoLink: "https://..."
                 |
                 --- thumbnailLink: "https://..."

Post a Comment for "Downloading List Of Files From Firebase Storage"