Difference between revisions of "Android Player"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
== Example == | == Example == | ||
− | This example uses an interaction plugin to create the content. Please have a look at this implementation script: https://msx.benzac.de/interaction/js/android.js. | + | This example uses an interaction plugin to create the content and to handle the application events. Please have a look at this implementation script: https://msx.benzac.de/interaction/js/android.js. |
=== Screenshot === | === Screenshot === |
Revision as of 16:59, 4 May 2021
It is possible to launch an external Android player (VLC, MX Player & Co.) via a system action (system:tvx:launch:{APP_ID}
) and to handle the results (e.g. the last video/audio position) via an application event (app:result
). This API is available in Media Station X version 0.1.136 or higher for all Android and FireTV devices.
Example[edit]
This example uses an interaction plugin to create the content and to handle the application events. Please have a look at this implementation script: https://msx.benzac.de/interaction/js/android.js.
Screenshot[edit]
Code[edit]
{
"reference": "request:interaction:init@http://msx.benzac.de/interaction/android.html",
"pages": []
}
Demo[edit]
- Launch via App: https://msx.benzac.de/?start=content:https://msx.benzac.de/info/xp/data/android_test.json
- Launch via Demo Page: https://msx.benzac.de/info/?start=content:https://msx.benzac.de/info/xp/data/android_test.json
Note: This demo will only work properly on a Android or FireTV device with Media Station X 0.1.136 or higher.