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.

Comments

criz created an issue. See original summary.

criz’s picture

Issue summary: View changes
Ujwala_D’s picture

Status: Active » Needs review
StatusFileSize
new978 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
StatusFileSize
new734 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.