From 39efb5203ccab700220fdea9fa5f7e77fc5fb747 Mon Sep 17 00:00:00 2001 From: Hampton Maxwell Date: Sun, 24 Jun 2018 12:15:43 -0700 Subject: [PATCH] Clean up wording about Android expansion files --- README.md | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 55a75928..a8f58be6 100644 --- a/README.md +++ b/README.md @@ -195,27 +195,18 @@ var styles = StyleSheet.create({ - * *For iOS you also need to specify muted for this to work* ## Android Expansion File Usage -Only supports .mp4 files. -The video files have not to be compressed. -Linux command example to exclude .mp4 files from zip compression: +Expansions files allow you to ship assets that don't need to be updated each time you push an app update. + +This only supports mp4 files and they must not be compressed. Example command line for preventing compression: ```bash -zip -r -n.mp4 *.mp4 main.1.com.exmample.com +zip -r -n .mp4 *.mp4 player.video.example.com ``` + ```javascript // Within your render function, assuming you have a file called // "background.mp4" in your expansion file. Just add your main and (if applicable) patch version