https://github.com/netristv/ti.exoplayer
A native control for playing videos for Titanium. Based on Google ExoPlayer, using Titanium.Media.VideoPlayer API.
https://github.com/netristv/ti.exoplayer
appcelerator axway exoplayer mediaplayer titanium videoplayer
Last synced: 2 months ago
JSON representation
A native control for playing videos for Titanium. Based on Google ExoPlayer, using Titanium.Media.VideoPlayer API.
- Host: GitHub
- URL: https://github.com/netristv/ti.exoplayer
- Owner: NetrisTV
- License: other
- Created: 2017-11-21T15:16:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T10:57:06.000Z (over 4 years ago)
- Last Synced: 2023-03-08T02:16:46.069Z (over 2 years ago)
- Topics: appcelerator, axway, exoplayer, mediaplayer, titanium, videoplayer
- Language: Java
- Size: 5.12 MB
- Stars: 17
- Watchers: 4
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A native control for playing videos for Titanium. Based on Google ExoPlayer, using Titanium.Media.VideoPlayer API.
Documentation
---------------
[Module API documentation](documentation/index.md)Requirements
---------------
- Titanium Mobile SDK 9.0.0.GA or laterExample
---------------
Add the module as a dependency to your application by adding a `` item to the `` element of your `tiapp.xml` file:
```XML...
ru.netris.mobile.exoplayer
...```
Use `require()` to access the module from JavaScript:
```JS
var ExoPlayer = require('ru.netris.mobile.exoplayer');
```The `ExoPlayer` variable is a reference to the module. Make API calls using this reference:
```JS
var exoplayer = ExoPlayer.createVideoPlayer();
```Build
---------------
With [Appcelerator CLI](https://github.com/appcelerator/appc-install):
>`appc run -p android --build-only`With [Titanium CLI](https://github.com/appcelerator/titanium):
>`ti build -p android --build-only`Known issues
------------
Application build could stuck on `"Running dexer"` step. To avoid this, increase max memory size for dexer with command:```ti config android.dx.maxMemory 2048M```
Author
---------------
Sergey VolkovLicense
---------------
Apache 2.0