Add comment not working in WordPress 2.8

My issue votes
0
votes
0/20 total votes used
Project:Video & Media for WordPress (All in One Video Pack)
Component:Code
Category:bug report
Priority:critical
Assigned:Roman.Kreichman
Status:patch (code needs review)
Total votes:8
Description

When trying to use the Add Video Comment with WordPress 2.8, the exception below is raised:

uncaught exception: Syntax error, unrecognized expression: [@name=comment_post_ID]

The error occurs in kaltura.js line 185, in function pluginUrl:

openCommentCW: function (pluginUrl) {
var postId = jQuery('[@name=comment_post_ID]').val();

The syntax of the jQuery selector is incorrect and should be:

openCommentCW: function (pluginUrl) {
var postId = jQuery('comment_post_ID').val();

This syntax is valid (not tested) with jQuery 1.3.2 and 1.2.6.

Comments

#1

Priority:normal» critical
Assigned to:Anonymous» Roman.Kreichman

#3

Fortunately it works well on mine...