cordova-plugin-exoplayer-tv
Version:
Media player for Cordova using Google's ExoPlayer framework
59 lines (48 loc) • 3.27 kB
text/xml
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="cordova-plugin-exoplayer-tv"
version="2.6.0">
<name>ExoPlayer</name>
<description>Cordova Plugin implementing ExoPlayer video/audio player</description>
<keywords>ecosystem:cordova,cordova-android,phonegap,cordova,ionic,android,exoplayer,exo,video,player</keywords>
<license>MIT</license>
<engines>
<engine name="cordova-android" version=">=4.0.0"/>
</engines>
<asset src="www/exoplayer.js" target="js/exoplayer.js"/>
<js-module src="www/exoplayer.js" name="ExoPlayer">
<clobbers target="ExoPlayer"/>
</js-module>
<platform name="android">
<framework src="com.google.android.exoplayer:exoplayer:2.19.1"/>
<framework src="org.jellyfin.exoplayer:exoplayer-ffmpeg-extension:2.19.1+1"/>
<!-- <framework src="com.squareup.picasso:picasso:2.8"/> -->
<!-- <framework src="org.videolan.android:libvlc-all:jar:4.0.0-eap20"/> -->
<!-- https://github.com/saoron/VLCPlugin -->
<!-- https://code.videolan.org/videolan/libvlc-android-samples -->
<config-file target="res/xml/config.xml" parent="/*">
<feature name="ExoPlayer">
<param name="android-package" value="co.frontyard.cordova.plugin.exoplayer.Plugin"/>
</feature>
</config-file>
<source-file src="src/res/values/ids.xml" target-dir="res/values/"/>
<source-file src="src/res/values/constants.xml" target-dir="res/values/"/>
<source-file src="src/res/values/styles.xml" target-dir="res/values/"/>
<source-file src="src/res/layout/exo_simple_player_view.xml" target-dir="res/layout/"/>
<source-file src="src/res/layout/exo_playback_control_view.xml" target-dir="res/layout/"/>
<source-file src="src/res/layout/exo_rounded_corners.xml" target-dir="res/layout/"/>
<source-file src="src/res/drawable/fastforward.png" target-dir="res/drawable/"/>
<source-file src="src/res/drawable/next.png" target-dir="res/drawable/"/>
<source-file src="src/res/drawable/pause.png" target-dir="res/drawable/"/>
<source-file src="src/res/drawable/play.png" target-dir="res/drawable/"/>
<source-file src="src/res/drawable/previous.png" target-dir="res/drawable/"/>
<source-file src="src/res/drawable/rewind.png" target-dir="res/drawable/"/>
<source-file src="src/android/CallbackResponse.java" target-dir="src/co/frontyard/cordova/plugin/exoplayer/"/>
<source-file src="src/android/Configuration.java" target-dir="src/co/frontyard/cordova/plugin/exoplayer/"/>
<source-file src="src/android/LayoutProvider.java" target-dir="src/co/frontyard/cordova/plugin/exoplayer/"/>
<source-file src="src/android/Payload.java" target-dir="src/co/frontyard/cordova/plugin/exoplayer/"/>
<source-file src="src/android/Player.java" target-dir="src/co/frontyard/cordova/plugin/exoplayer/"/>
<source-file src="src/android/Plugin.java" target-dir="src/co/frontyard/cordova/plugin/exoplayer/"/>
<!-- <source-file src="src/android/DeviceDetector.java" target-dir="src/co/frontyard/cordova/plugin/exoplayer/"/> -->
</platform>
</plugin>