From dee39ebdb6b7d931914b1410bd639be261c339ca Mon Sep 17 00:00:00 2001 From: dmcBig Date: Wed, 25 Apr 2018 17:01:05 +0800 Subject: [PATCH] =?UTF-8?q?ios=20Video=20transcoding=20compression=20to=20?= =?UTF-8?q?MP4=20=EF=BC=88use=20AVAssetExportPresetMediumQuality=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3208846..2d017b2 100644 --- a/README.md +++ b/README.md @@ -63,11 +63,15 @@ index.js code: }; function err(data){ - console.log(err); + console.log(data); } function loading(){} - + +    //ios Video transcoding compression to MP4 (use AVAssetExportPresetMediumQuality) +    document.addEventListener("MediaPicker.CompressVideoEvent", function(data) { + alert(data.status+"||"+data.index); + }, false); # Screenshots