forked from prsuhas-zz/cordova-plugin-streaming-media-secure
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
executable file
·79 lines (67 loc) · 4.21 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?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="cordova-plugin-streaming-media-secure"
version="2.3.1">
<name>StreamingMediaSecure</name>
<description>
This plugin allows you to launch a fullscreen streaming player for audio or secure video on Android and iOS.
</description>
<author>Suhas P R</author>
<license>MIT</license>
<keywords>Streaming, Media, Video, Secure, Audio, Android, iOS</keywords>
<repo>https://github.com/prsuhas/cordova-plugin-streaming-media-secure.git</repo>
<issue>https://github.com/prsuhas/cordova-plugin-streaming-media-secure/issues</issue>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/StreamingMedia.js" name="StreamingMedia">
<clobbers target="streamingMedia" />
</js-module>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="HKVideoPlayer">
<param name="ios-package" value="HKVideoPlayer" onload="true" />
</feature>
</config-file>
<source-file src="src/ios/HKVideoPlayer.swift" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="StreamingMedia">
<param name="android-package" value="com.prsuhas.cordova.plugins.streamingmedia.StreamingMedia" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:configChanges="orientation|screenSize" android:name="com.prsuhas.cordova.plugins.streamingmedia.SimpleAudioStream" android:label="Simple Audio Stream"></activity>
<activity android:configChanges="orientation|screenSize" android:name="com.prsuhas.cordova.plugins.streamingmedia.SimpleVideoStream" android:label="Simple Video Stream"></activity>
</config-file>
<source-file src="src/android/com/prsuhas/cordova/plugins/streamingmedia/SimpleAudioStream.java" target-dir="src/com/prsuhas/cordova/plugins/streamingmedia" />
<source-file src="src/android/com/prsuhas/cordova/plugins/streamingmedia/SimpleVideoStream.java" target-dir="src/com/prsuhas/cordova/plugins/streamingmedia" />
<source-file src="src/android/com/prsuhas/cordova/plugins/streamingmedia/StreamingMedia.java" target-dir="src/com/prsuhas/cordova/plugins/streamingmedia" />
<source-file src="src/android/com/prsuhas/cordova/plugins/streamingmedia/ImageLoadTask.java" target-dir="src/com/prsuhas/cordova/plugins/streamingmedia" />
</platform>
<platform name="amazon-fireos">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="StreamingMedia">
<param name="android-package" value="com.prsuhas.cordova.plugins.streamingmedia.StreamingMedia" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:configChanges="orientation|screenSize" android:name="com.prsuhas.cordova.plugins.streamingmedia.SimpleAudioStream" android:label="Simple Audio Stream"></activity>
<activity android:configChanges="orientation|screenSize" android:name="com.prsuhas.cordova.plugins.streamingmedia.SimpleVideoStream" android:label="Simple Video Stream"></activity>
</config-file>
<source-file src="src/android/com/prsuhas/cordova/plugins/streamingmedia/SimpleAudioStream.java" target-dir="src/com/prsuhas/cordova/plugins/streamingmedia" />
<source-file src="src/android/com/prsuhas/cordova/plugins/streamingmedia/SimpleVideoStream.java" target-dir="src/com/prsuhas/cordova/plugins/streamingmedia" />
<source-file src="src/android/com/prsuhas/cordova/plugins/streamingmedia/StreamingMedia.java" target-dir="src/com/prsuhas/cordova/plugins/streamingmedia" />
<source-file src="src/android/com/prsuhas/cordova/plugins/streamingmedia/ImageLoadTask.java" target-dir="src/com/prsuhas/cordova/plugins/streamingmedia" />
</platform>
</plugin>