Brightcove module is not compatible with jQuery 1.8 or later versions. The dialog windows don't work, so you can't use Brightcove field for videos and playlists.

Comments

k.dani’s picture

Title: Brightcove module is not compatible with jQuery 1.8 or later version » Brightcove module is not compatible with jQuery 1.8 or later versions
k.dani’s picture

Status: Active » Closed (works as designed)

The problem is not related to the Brightcove integration module. The source of the problem is the version of the jQuery UI that the site is using. The latest stabel version of jQuery update loads jQuery UI 1.8.11 which uses depricated methods like $.curCSS. This method has been removed from jQuery 1.8 or later versions: http://bugs.jquery.com/ticket/11921

There are several workarounds that can solve this issue:

  • Use the latest dev branch of jQuery update module. It uses jQuery 1.10.1. What's more, you can set different versions of jQuery for different themes.
  • Use the patch that has been created to the following issue: #2223083: c.curCSS is not a function (with jQuery 1.8)
  • Add the following js code snippet to your code: jQuery.curCSS = jQuery.css;
k.dani’s picture

The new release of jQuery update (7.x-2.4) module solves this problem.