mabdurrahman / expo-download-and-play-video-example

Expo video: downloading -> storing/caching -> playing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expo download and play video - example

Try on Expo

Example for a workaround (with undocumented FileSystem API for now) to

  1. download a remote video
  2. store/cache it
  3. play it

Expo SDK version at the time of the example: 18

Help:

Asset.js

FileSystem NativeModules implementations:
Android | iOS

FileSystem support thread
inspired from this snippet

thanks to @astonm and @nikki93

About

Expo video: downloading -> storing/caching -> playing


Languages

Language:JavaScript 100.0%