Hello,
Flowplayer is probably the best solution for drupal multimedia, and the basic configuration is working fine on my drupal installation. However, I spent hours to integrate flowplayer with emfield via views. I need help to achieve my views playlist. How to implement views in the theme function or in the preprocess function ?
thanks

Comments

alienresident’s picture

spasmody

Not sure of this will help but here is how I am getting flowpalyer and the video to show up in a views block.

I am using the video module to create a cck filefield (field_video) and have the video upload module enabled.

In the view I am using fields, and on the video field I am just spitting out the path to file
Content: Video Path to file

The code in my views template file for the video (views-view-field--View-Name--block--field-video-fid.tpl.php) is:

<?php

  /* Create absolute path */
  global $base_url;
  $video_path = $base_url . '/' . $output;
  flowplayer_add('#video-player', array(
      'clip' => array(
      'url' => $video_path,
      'autoPlay' => FALSE, // Turn autoplay off
      'autoBuffering' => TRUE,
      ),
    ));
  print '<a id="video-player" style="display:block; width:640px; height:384px;"></a>';
?>  

Are you trying to create a view which is a video with a playlist?