Read Me: This documentation is for rtMedia 3.0. rtMedia is a successor of BuddyPress Media, and is currently under development. Parts of this document may not be implemented in the code, yet. Not recommended for production environments.
Using the Upload API, any media file can be added to rtMedia for display else where using the Media API. The uploader can be completely customised and custom upload/import methods can be added easily.
The Upload API for rtMedia is accessible in multiple ways:
The Anywhere Uploader of the Upload API works via the upload endpoint. It is a good idea to start with an understanding of the endpoint.
The Upload API in rtMedia allows for seamless front-end media uploads and integration with rtMedia for WordPress, BuddyPress and bbPress. Furthermore, it allows for complete customization and extension via addons.
The Upload API provides the following interactions
This action hook, lets you add the
rtMedia ships with two default modes:
A custom mode can be added using the filter
Processing Custom Mode Input
The custom mode processing can be accessed at the action hook. The hook passes the rtMedia upload object, which can be used for further processing. After processing the input, rtMedia expects a well formatted media object.