For Developers

This article describes how to develop your own video Plugin for Perfect Player.

The aim of plugin is to download site’s pages, parse pages and return videos and folders lists to the player. It must return links’ names, URLs and types (file/folder). Also, plugin can return links’ thumbs URLs and descriptions. Player can send commands to plugin, such as: go to next page, go to previous page, select item, refresh data.
Basic Java development experience is recommended.

8. If you want your plugin to work on Android platform too, you need to make classes.dex file of plugin classes and copy it into jar-file (jar-file is usual zip archive). You need to use dx.bat utility (it is in Android SDK) to get classes.dex.
Inside jar-file should look like this: