forked from lulee007/cordova-plugin-video-thumbnail
-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.xml
36 lines (36 loc) · 1.72 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-video-thumbnail2" version="1.0.9" xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>Video Thumbnail</name>
<description>Cordova video-thumbnail Plugin</description>
<license>Apache-2.0</license>
<keywords>cordova,phonegap,video thumbnail</keywords>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module name="videoThumbnail" src="www/videoThumbnail.js">
<clobbers target="videoThumbnail"/>
</js-module>
<platform name="android">
<source-file src="src/android/VideoThumbnail.java" target-dir="src/com/dride/cordova/videothumbnail"/>
<config-file parent="/manifest" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="32"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
</config-file>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="VideoThumbnail">
<param name="android-package" value="com.dride.cordova.videothumbnail.VideoThumbnail"/>
</feature>
</config-file>
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="VideoThumbnail">
<param name="ios-package" value="VideoThumbnail"/>
</feature>
</config-file>
<source-file src="src/ios/VideoThumbnail.m"/>
<framework src="AVFoundation.framework"/>
<framework src="CoreMedia.framework"/>
</platform>
</plugin>