• Resolved omahoung

    (@omahoung)


    Hello,

    I have just installed Tutor LMS on a website and the videos (I use Youtube) on all my news pages don’t display anymore. When I deactivate Tutor LMS the videos show again. To embed the videos I use the WordPress video block inside Gutenberg.I can’t see any javascript error on the console log.

    Any idea of what could be the problem?

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello @omahoung !

    It can be a conflicting issue. from this file ->plugins/tutor/classes/Course_Embed.php

    line 28 , comment or remove this code then check :

    add_filter( ’embed_oembed_html’, __CLASS__ . ‘::oembed_iframe_overrides’, 10, 3 );

    Thank you!

    I'm having the same problem!!!
    I have a page with figures and YouTube videos, after I installed the update "2.0.10 – September 20, 2022" the videos were invisible.
    After doing a scan with the "Troubleshooter" plugin I detected that it was after this update and one of them is "more security improvements are introduced", apparently the Tutor security wanted to get it all out.
    How can you put something that affects an entire site?
    I am reporting the error and waiting for a solution.
    I made a backup to use the old version and the site is working normally, but without this update.
    
    This @kardi420 answer is not for everyone. Could you be more specific, I'm not a programmer. Most aren't, so we turn to support. Please help us.
    Thread Starter omahoung

    (@omahoung)

    Hi,

    Thanks for the fast answer.

    Comment the line fixed the problem. But is there a way to remove the filter without touching the plugin’s core files to avoid doing this after each plugin update? I have tried with remove_filter() but I can’t make it work.

    Best regards.

    Hi, I have the same issue and commenting that line out fixed the problem. But I would prefer it if there could be a more permanent fix!

    Dear @sacrephill @omahoung @walldyney !

    We already noted this, hope the issue will be fixed next update, now just use this hotfix.

    Thank you!

    This is too bad, they could fix it soon. Now the plugin is updating automatically without me wanting to and this fix needs to be reset.

    munayam

    (@munayam)

    Hello @walldyney,

    You can edit wp-config.php file and apply the code given below to disable autoupdate of the plugins

    
    add_filter( 'auto_update_plugin', '__return_false' );
    

    We’ve resolved this and waiting for the update to be released soon.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Videos not showing’ is closed to new replies.