Hi.

I've been attempting to get the excellent-seeming OSM Player working for my project for a little while and feel I've reached a point where I should ask for input... the first thing I've been trying to accomplish is just to successfully test playback/display of Audio nodes. I discovered the other day that my test preset View actually will play back audio (for now I have attempted to set it up to load and play back any nodes of type Audio). However, the player doesn't display any audio files so until I pressed play just to see what would happen I had no way of knowing that audio was loaded and could be played back... the player does display spinning progress wheel graphics (there were 3, now there is just 1 - please see attached screenshot with only 1 audio file currently on the site, being played back) whether playing back or not.

At this point I am thinking either I am missing or not properly understanding something, or there may be a bug or other problem.

Possibly relevant details -

MediaFront 6.x-1.0-rc5
Drupal core 6.20
Audio 6.x-1.0-unstable6 (not using unstable Audio "sub" modules)
acquia_search 6.x-1.5288 (includes Apache Solr Search Integration)
Apache Solr Facet Builder 6.x-1.x-dev
Content Construction Kit (CCK) 6.x-2.8
Views 6.x-2.12

Testing for now in Firefox 3.6.3 under OS X 10.5.8

Thanks so much Travist for your efforts...

CommentFileSizeAuthor
#1 GrabOsmPlayer.gif15.52 KBbutler

Comments

butler’s picture

StatusFileSize
new15.52 KB

Attachment (Drupal site wouldn't accept a .tiff) attached...

travist’s picture

butler,

Can you export both your view and the preset and paste the code in your next comment using the code tag so that I can try to reproduce on my end?

Thanks,

Travis.

butler’s picture

Thanks for the reply travist... code below -

The exported View:

$view = new view;
$view->name = 'osm_block_view';
$view->description = 'OSM Block View';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'node';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'OSM Block View', 'default');
$handler->override_option('filters', array(
  'type_1' => array(
    'operator' => 'in',
    'value' => array(
      'audio' => 'audio',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type_1',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('title', 'OSM View Block Display');
$handler->override_option('style_plugin', 'mediaplayer');
$handler->override_option('style_options', array(
  'mediafront_preset' => 'mediafront_basic',
));
$handler = $view->new_display('block', 'OSM Block Display', 'block_1');
$handler->override_option('filters', array(
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'audio' => 'audio',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('block_description', '');
$handler->override_option('block_caching', -1);

The exported Mediafront preset:

$preset = array (
  'name' => 'mediafront_basic',
  'description' => 'Mediafront Basic Preset',
  'player' => 'osmplayer',
  'connect' => array (
    'iscontroller' =>   array (
    ),
    'isplaylist' =>   array (
    ),
  ),
  'settings' => array (
    'autoLoad' => false,
    'debug' => true,
    'quality' => 'small',
    'fluidHeight' => true,
    'width' => 250,
  ),
);
travist’s picture

Try taking out the "Fluid Height" option and see if it works better. I have not tested that option as well as I would like, and it may cause your resize problem.

Let me know.

butler’s picture

That was indeed causing the problem, and I don't think I need fluid height... thanks so much travist. I have also had trouble understanding how to use the player via CCk but maybe this will also help there. Anyway, will work on that a little more on my own before bugging you.

Your efforts and support MUCH appreciated travist.

travist’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.