Media: thePlatform mpx
The Media: thePlatform mpx module (Media:tpMpx) integrates with the Media module to make your mpxPlayers and mpxMedia on thePlatform.com's mpx available in Drupal as File Entities.
This module requires an administrator account for mpx on thePlatform.com. Please refer to the module project page for Basic Installation and Compatibility details.
Note: It is recommended to create a separate user/login in mpx for use with Media:tpMpx in your Drupal site.
Usage
Embedding mpxPlayers and mpxMedia
mpxPlayers and mpxMedia will appear in the Library tab of the Media Browser, but additionally Media:tpMpx also creates two more Media Browser tabs:
- mpxPlayers: Select an mpxPlayer to embed.
- mpxMedia: Select an mpxMedia to embed, and additionally select which mpxPlayer to display it with. Use the "Search" textbox to filter the mpxMedia by title or description.
For help on configuring the Media Browser to appear in a WYSIWYG toolbar, refer to http://drupal.org/node/1882314
Sync
Read moreUsing MediaElement.js with audio files Media 7.x-1.x
Media module doesn't come with a built-in audio player, but will work with MediaElement.js. MediaElement.js does not provide field formatters for Media 1.x's deprecated Multimedia asset field type, so it takes a bit of work to make them work together.
One approach would be to use hook_field_formatter_info_alter() on MediaElement module's mediaelement_field_formatter_info() to allow it to be used as a Multimedia asset field formatter, or to just write a custom field formatter that would tie Media and MediaElement together. If you want to be able to work with your theme using Display Suite, Panels, or core Fields UI, that might be the way to go.
Another approach is to do everything in the template files. The following code sample assumes you've created a Multimedia asset field for audio called field_audio, with only one value, and nothing translated.
In your theme's template.php (replace YOURTHEME with the name of your theme):
<?php
function YOURTHEME_preprocess_node(&$variables, $hook) {
$node = $vars['node'];
// if there is an audio file available
if (isset($node->field_audio['und'][0]['fid'])) {