forked from adminy/cordova-plugin-ffmpeg
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplugin.xml
51 lines (40 loc) · 1.44 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova-plugin-ffmpeg"
version="2.0.3">
<name>FFMpeg</name>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<js-module name="ffmpeg" src="www/ffmpeg.js">
<clobbers target="ffmpeg" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="FFMpeg">
<param name="android-package" value="com.marin.plugin.FFMpeg"/>
</feature>
</config-file>
<source-file src="src/android/FFMpeg.java" target-dir="src/com/marin/plugin/"/>
<!-- ffmpeg kit framework for android using gradle -->
<framework custom="true" src="src/android/ffmpeg-kit.gradle" type="gradleReference" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/widget">
<feature name="FFMpeg">
<param name="ios-package" value="HWPFFMpeg" />
</feature>
</config-file>
<header-file src="src/ios/HWPFFMpeg.h" target-dir="FFMpegPlugin"/>
<source-file src="src/ios/HWPFFMpeg.m" target-dir="FFMpegPlugin"/>
<!-- ffmpeg kit framework for ios using cocoapods -->
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="ffmpeg-kit-ios-full-gpl" spec="~> 4.5.1" />
</pods>
</podspec>
</platform>
</plugin>