#190797
 Radu
Moderator

Hi,

We have spoken with the rtMedia team about this issue and they work on a solution for this issue, until they fix you can use this snippet to can dequeue the script that rtMedia adds.

Temporary FIX snippet :

COPY CODE

/* TEMPORARY Deque the mediaelement added by the rtmedia plugin in non-Buddypress pages*/
function sq7r_deque_rtmedia_mediaelement() {
    if( function_exists('bp_is_active') && !bp_is_members_component()) {
        wp_dequeue_script('rt-mediaelement');
        wp_dequeue_style('rt-mediaelement');
        wp_dequeue_style('rt-mediaelement-wp');
        wp_dequeue_script('rt-mediaelement-wp');
    }
}
add_action('wp_enqueue_scripts', 'sq7r_deque_rtmedia_mediaelement',999);

If you have any issue when add the code into functions.php like some wired quotes or you receive syntax error copy the snippet code from here : https://pastebin.com/raw/d7AD00YC

NOTE: The chid theme needs to be installed and activated.
The function will have to be added in wp-content/themes/kleo-child/functions.php

Cheers
R.

Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

Log in with your credentials

Forgot your details?