• Resolved Everaldo Matias

    (@everaldomatias)


    The youtube iframes stop working when activating version 2.0.10 of Tutor LMS plugin. Even version 2.0.9 works normally.

    I tested in WP versions 5.9.5, 6.0.3 and 6.1 and the behavior is the same, it works with version 2.0.9 of Tutor LMS, above that it doesn’t work.

    How to fix?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Md. Jobayer Al Mahmud

    (@jobayertuser)

    Hello @everaldomatias

    I have re-checked the iframe embedded code working fine. Please contact support at themeum dot com.

    chessnichi

    (@chessnichi)

    It does not work for me either.

    I have Tutor LMS 2.1.2 and the “Tutor Player for Youtube” doesn’t work even if selected. It simply loads the normal “Youtube Player”.

    The weird thing is that if I clik the WordPress “Customize” button, and reloads the page in order to be modified… then it appears. And once I close the left panel and view the final result… It loads the default “Youtube Player” again.

    Never happen before… Any idea?

    Thank you in advance,

    Plugin Support Md. Jobayer Al Mahmud

    (@jobayertuser)

    Hello @chessnichi

    Please contact support at themeum dot com.

    metaphysician

    (@metaphysician)

    i can verify that on Safari with 2.1.2 when editing a lesson using HTML mode it disregards any iframe headers and deletes them outright even though i get all the messages that the lesson was updated. i get the same result from using a recently updated Brave browser (based on WebKit). i’ve just installed the free version to test it out.

    also the included YouTube player doesn’t seem to load videos and claims that the settings for the player haven’t been set.

    Plugin Support Parag Das

    (@parag44)

    Hi @metaphysician

    To solve the embed issue temporarily, please edit the following file:
    wp-content/plugins/tutor/classes/Course_Embed.php

    Comment line 28:

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

    Please check the screenshot to understand it better: https://prntscr.com/EMcdCEh7plEm

    Thank you!
    Best Regards

    metaphysician

    (@metaphysician)

    i’ve seen this fix earlier and i did edit the script, but the situation does persist – i did not clear cache afterwards but my Safari ignores cache. based on what i read the earlier issue seemed to be that other pages on the WP site that weren’t created for or by Tutor LMS had their embeds broken which i guess that fix solves.

    this issue is specifically with the Lesson editor for courses, and the fact it basically ignores iframe tagged HTML completely. it will let you type it in but it doesn’t preview. if you save it it will act like you saved it correctly but if you go back to the editor all the HTML will be gone.

    until this problem can be addressed the LMS is useless for my purposes. also the YouTube player does not work.

    Plugin Support Md. Jobayer Al Mahmud

    (@jobayertuser)

    Hello @metaphysician

    We have already acknowledged the issue in out next release hopefully this will be solved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Youtube embed not working after version 2.0.9’ is closed to new replies.