Home > widget-integration > FilterController > enableVideoDebug

FilterController.enableVideoDebug() method

Debug helper for video detection. Only enabled when explicitly overridden in shop-specific extensions through window.boostWidgetIntegration.extend().

Signature:

protected enableVideoDebug(): boolean;

Returns:

boolean

Example

window.boostWidgetIntegration.extend('FilterController', (FilterController) => {
  return class extends FilterController {
    protected enableVideoDebug(): boolean {
      return true; // Enable debug for this shop
    }
  };
});