• Resolved hatchjaw

    (@hatchjaw)


    Hi,

    firstly, thanks for a very helpful plugin. There’s an issue, however, with the Elementor integration, specifically on line 92 (and probably also line 109) of integrations/plugins/elementor.php:

    $iframe_pattern = '/elementor-widget elementor-widget-video[ |\"].*?data-settings=.*?youtube_url.*?":"(.*?)"/is';

    If an Elementor video widget doesn’t contain a YouTube video, e.g. if it’s a self-hosted video, those .*? patterns will just consume characters till the next video widget that does contain a YouTube video is found, spuriously capturing any intermediate elements. Any data-settings attributes applied to those intermediate elements will be renamed on line 101.

    Replacing .*? with [^>]*? should remedy this issue.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Elementor conflict’ is closed to new replies.