-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
58 lines (47 loc) · 1.99 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
52
53
54
55
56
57
58
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.edufe.mobile.EduPlayer"
version="1.0.0">
<engines>
<engine name="cordova" version=">=3.2.0" />
</engines>
<name>EduPlayer</name>
<description>Play video with native support for android and ios</description>
<author>Menhal</author>
<keywords>video,android</keywords>
<license>MIT</license>
<js-module src="www/EduPlayer.js" name="EduPlayer">
<clobbers target="EduPlayer" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="EduPlayer" >
<param name="android-package" value="com.edufe.mobile.EduPlayer"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity
android:name="com.edufe.mobile.EduPlayerActivity"
android:configChanges="orientation|screenSize"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen" >
</activity>
</config-file>
<source-file src="src/android/EduPlayer.java" target-dir="src/com/edufe/mobile" />
<source-file src="src/android/EduPlayerActivity.java" target-dir="src/com/edufe/mobile" />
<source-file src="src/android/activity_my.xml" target-dir="res/layout" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="EduPlayer">
<param name="ios-package" value="EduPlayer"/>
</feature>
</config-file>
<source-file src="src/ios/EduPlayer.m" />
<source-file src="src/ios/EduPlayerViewController.m" />
<header-file src="src/ios/EduPlayer.h" />
<header-file src="src/ios/EduPlayerViewController.h" />
<framework src="MediaPlayer.framework" />
</platform>
</plugin>