I get "SCRIPT16385: Not implemented" on jquery.media.file.js?r, line 32 character 7 when trying to play an audio file. That error is thrown on the first return statement of this script.

  // Checks the file type for browser compatibilty.
  jQuery.media.checkPlayType = function( elem, playType ) {
    if( (typeof elem.canPlayType) == 'function' ) {
      return ("no" !== elem.canPlayType(playType)) && ("" !== elem.canPlayType(playType));
    }
    else {
      return false;
    }
  };

I'm using PHP to display the player on a clean Drupal 6.26 install with MediaFront 6.x-1.5.

$audio_node = node_load(1);
$element = array('#formatter' => 'audio_', '#node' => $audio_node);
$player = theme('mediafront_formatter_audio_player', $element);
print $player;

It works perfectly in Chrome and Firefox. I've attached a screenshot of the debugging console.

Comments

mstrelan’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

It turns out that this bug has been reported in the Modernizr javascript library which Paul Irish has committed a workaround for. I have based this patch on his workaround. Not sure what you're doing to generate the compressed files so I've just provided the patch for culprit source file.

For more info see https://github.com/Modernizr/Modernizr/issues/224
Note that I'm not on Windows Server, so it is also the desktop that is affected.

bhosmer’s picture

Status: Needs review » Postponed

Can you test with the latest and report back if this is still an issue?