Browse files

Allow video uploads

Summary: Allows video uploads from native iOS by using the proper network handler, `RCTAssetsLibrary` rather than `RCTImageLoader`. Currently, uploading a camera roll video via its `assets-library://` URI would upload the first image frame. This fixes it by checking if the `assets-library://` URI is of the extension `MOV`, and if so, declines to process it from `RCTImageLoader`.

Reviewed By: javache

Differential Revision: D5223351

fbshipit-source-id: 8de92c5bb72acb02ed4d9fb92d69f68c8b5d1b36
  • Loading branch information...
fred2028 authored and facebook-github-bot committed Jun 13, 2017
1 parent 53d5504 commit 8dd15f2c87fbebbd6e1ce802b8a8362d4f5d7bf8
Showing with 615 additions and 591 deletions.
  1. +615 −591 Libraries/Image/RCTImageLoader.m
Oops, something went wrong.

0 comments on commit 8dd15f2

Please sign in to comment.