How to reproduce:
- Activate the whatchado codec in your text_format
- Create a content and add a filter like [video:https://www.whatchado.com/en/stories/claudia-gonzalez]
- Result is a Invalid callback (VIDEO FILTER - INVALID CALLBACK IN:)

Maybe it is an issue with the whatchado service. Needs to be checked.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

criz created an issue. See original summary.

criz’s picture

Issue summary: View changes
Ujwala_D’s picture

Status: Active » Needs review
FileSize
978 bytes

Hi,

Actually $pattern was not assigned by any value, So it gave error. One more, There was correction in video_filter.codecs.inc file. The callback function was not call correctly which affects at line line 266

        elseif (is_callable($video['codec']['callback'], FALSE)) {
criz’s picture

Assigned: Unassigned » criz
Status: Needs review » Needs work

Thanks, your are right. There seems also to be an issue with the new whatchado url structure. Will check this.

criz’s picture

Assigned: criz » Unassigned
Status: Needs work » Needs review
FileSize
734 bytes

This patch uses the fix from Ujwala_D (false callback) and adds support for the new whatchado url structure (including "stories"). Old url structure still works.

DamienMcKenna’s picture

Thank you both for the patches.

  • DamienMcKenna committed b7cf619 on 7.x-3.x authored by Ujwala_D
    Issue #2829709 by criz, Ujwala_D: Fixed whatchado codec and fixed debug...
DamienMcKenna’s picture

Status: Needs review » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.