Everything works great up until I save the video or audio. Unlike the demo page, the plugin does not successfully insert the code snippet into the comment field, so the video or audio comment does not appear. Here are my Drupal details:

Drupal 5.1
Configuration file Protected
Cron maintenance tasks Last run 7 min 40 sec ago
You can run cron manually.
Database schema Up to date
File system Writable (public download method)
GD library 2.0 or higher
MySQL database 5.0.32
PHP 5.2.0-8+etch10
Unicode library PHP Mbstring Extension
Web server Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c

Comments

panis’s picture

is your site available externally for testing?

few things to check
- make sure you are not using the nodecomment module
- permissions - configuration settings and permissions.
configuration settings must have comments enabled (allow audio and video comments)
AND user must have add video comments and add audio comments enabled in permissions

Things that may help me narrow it down:
a) Are your controls on top of the comment form or below it?
b) do you know what the ID of the comment textarea is set to? the riffly javascript expects this to be 'edit-comment'.

kassissieh’s picture

(Sorry for the lateness of my reply. Can one subscribe to a bug report comment thread?)

I can provide you with a login, but Riffly is disabled until I can resolve this. If you want to schedule a day and time, I can enable it for then.

Not using nodecomment. Comments are enabled. Authenticated users have permission to post audio and video comments.

Controls are on the top of the comment form.

The textarea id is "edit-comment". Here is more HTML. I notice that img-assist has inserted some javascript there.

<div id="comments"><h2 class="comments">Comments</h2>  <div class="box">
    <h2 class="title">Post new comment</h2>    <div class="content"><form action="/drupal/comment/reply/251"  method="post" id="comment-form" enctype="multipart/form-data">
<div><div class="form-item">
 <label>Your name: </label>

 <a href="/drupal/user/2" title="View user profile.">kassissiehr</a>
</div>
<div class="form-item">
 <label for="edit-comment">Comment: <span class="form-required" title="This field is required.">*</span></label>
 <textarea cols="60" rows="15" name="comment" id="edit-comment"  class="form-textarea required"></textarea>
</div>
<script type="text/javascript">
  img_assist = document.getElementById('img_assist-link-edit-comment');
  if (img_assist) {
    var img_assist_default_link = img_assist.innerHTML;
    if ('yes' == 'yes') {
      img_assist.innerHTML = tinyMCE.getEditorId('edit-comment') == null ? '' : img_assist_default_link;
    }
    else {
      img_assist.innerHTML = tinyMCE.getEditorId('edit-comment') == null ? img_assist_default_link : '';
    }
  }
  if (typeof(document.execCommand) == 'undefined') {
    img_assist.innerHTML = img_assist_default_link;
    document.write('<div style="font-size:x-small">Your current web browser does not support WYSIWYG editing.</div>');
  }
  else {
    document.write("<div><a href=\"javascript:mceToggle('edit-comment', 'wysiwyg4comment');\" id=\"wysiwyg4comment\">disable rich-text</a></div>");
  }
</script>
panis’s picture

do you have tinymce enabled on the comment box? that may be the problem.

kassissieh’s picture

Status: Active » Closed (fixed)

Yes, tinyMCE was enabled. Disabling tinyMCE for comment fields worked. Thanks! Yet, the plug-in still is not completely working, but I will post that as a new bug.