I'm working on creating a new provider module for emfield (http://drupal.org/project/emfield).

I've looked at these examples:
http://drupal.org/project/media_ted
http://drupal.org/project/media_ted

And this d5 example:
http://drupal.org/node/306139

The video provider I'm working on is Fliqz.

The administrative interface and embed video code extraction are working.

When creating a node that should be displaying a video, nothing is displayed inside:

<div class="emvideo emvideo-video emvideo-fliqz"></div>

I've tried posting youtube videos and they show up properly with media_youtube so the problem must be with fliqz.inc.

Why is there no content being output?
It doesn't seem to matter what is inside function I thought was should be outputting the video: theme_emvideo_fliqz_flash
It seems like theme_emvideo_fliqz_flash() is not even getting called...

Any suggestions appreciated.

Thanks!

Comments

internets’s picture

Hopefully this will help someone else.

Getting closer to having this module working.

More documentation:
http://drupal.org/node/367359

I've been comparing and found the function that gets called by emvideo:

function emvideo_fliqz_video($embed, $width, $height, $field, $item, &$node, $autoplay) {
  $output = $item['embed'];
  //theme('emvideo_fliqz_flash', $item, $width, $height, $autoplay);
  return $output;
}

If I return the raw embed code here, it works. Not the correct way yet but the next step would be making the function use $width, $height and autoplay in emvido_fliqz_flash().

mcfilms’s picture

Hey did you ever get this working?

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com