I think that this issue was brought up earlier in this thread - #1215108: Create a playlist field formatter, but it would be great to be able to use JWPlayer as a Views Formatter/Style in addition to using it as a field formatter. This would enable the creation of playlists via Views, whose output could be viewed through a single instance of JWPlayer.

Thanks again for the great module!

CommentFileSizeAuthor
#1 views.zip2.82 KBbrycesenz

Comments

brycesenz’s picture

StatusFileSize
new2.82 KB

I've been working on a patch for this (files attached), but it requires playlist support in a generalized way, and this module isn't there yet. This patch will be on hold until playlist support is finished.

Anyway, attached is my Views plugin and necessary files; I would like to see something like it eventually become a part of this module, as it adds a whole new set of possible uses.

Note: you need to add this hook_views_api() function to the bottom of 'jw_player.module', and put my plugin in a folder called 'views'.

/**
 * Implements hook_views_api().
 *
 */
function jw_player_views_api() {
  return array(
    'api' => 3,
    'path' => drupal_get_path('module', 'jw_player') .'/views',
  );
}
markwk’s picture

Any "official" progress on this issue?

giorgosk’s picture

giorgosk’s picture

Status: Active » Closed (duplicate)
ibuildit’s picture

actually this isn't a duplicate issue, in that playlist field formatter thread, they specifically state that a separate views thread should be opened because of the two approaches - a field with multiple videos playlist and a views playlist for nodes

lets use this for the views issue, its vital for sites that need the AD capabilities of jw player and need playlist functionality.

i'm using a workaround with EVA module right now,... but its not as slick as an ajax playlist

ibuildit’s picture

bump