-
Notifications
You must be signed in to change notification settings - Fork 3
/
plugin.xml
33 lines (30 loc) · 1.42 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.urucas.plugins.OpenYoutTubePlugin" version="1.1">
<name>Open Youtube Plugin</name>
<description>Open Youtube Plugin based on Keyes OpenYoutube extension</description>
<license>Apache 2.0</license>
<keywords>cordova,youtube,phonegap</keywords>
<engines>
<engine name="cordova" version=">=3.0.0"/>
</engines>
<js-module src="www/openyt.js" name="toast">
<clobbers target="window.openyt" />
</js-module>
<platform name="android">
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="OpenYouTubePlugin">
<param name="android-package" value="com.urucas.plugins.OpenYouTubePlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.keyes.youtube.OpenYouTubePlayerActivity" android:screenOrientation="landscape" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
</config-file>
<source-file src="src/android/com/urucas/plugins/OpenYouTubePlugin.java"
target-dir="src/com/urucas/plugins"/>
<source-file src="src/android/libs/openyoutubeactivity.jar" target-dir="libs/"/>
</platform>
</plugin>