Active
Project:
JW Player Module for Drupal
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 May 2011 at 16:41 UTC
Updated:
11 May 2011 at 18:17 UTC
If you add the following function to the module jwplayer can be rendered in comments as well as nodes.
Create function
function jwplayermodule_comment(&$comment, $op) {
Replace $text = $node->content["body"]["#value"]; with $text = $comment->comment;
and
$node->content["body"]["#value"] = $text; with $comment->comment = $text;
And it'll work.
Comments
Comment #1
JW Player commented@btopro,
Thanks for the suggestion. I finally have the opportunity to work on a proper update so I will go ahead and include this.
Thanks.