From 132d420b6ad28f54652778c08b762b4dfca372cc Mon Sep 17 00:00:00 2001 From: Mathias Scherer Date: Mon, 6 Nov 2017 13:17:56 +0100 Subject: [PATCH] updates readme with additional infos for expansion files adds the info that the mp4 files inside expansion files have not to be compressed to get it working --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 62fe5ba9..55a75928 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,12 @@ var styles = StyleSheet.create({ - * *For iOS you also need to specify muted for this to work* ## Android Expansion File Usage -Only supports .mp4 files +Only supports .mp4 files. +The video files have not to be compressed. +Linux command example to exclude .mp4 files from zip compression: +```bash +zip -r -n.mp4 *.mp4 main.1.com.exmample.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