• After updating to TutorLMS 1.9.14 the “requestfullscreen” attribute is being removed from my embedded video iFrames. Issue occurs in the latest versions of Chrome and Firefox.

    iFrame saved in the lesson:

    
    <iframe class='sproutvideo-player' src='https://videos.sproutvideo.com/embed/exampleVideoCode' width='640' height='360' frameborder='0' allowfullscreen></iframe>
    

    iFrame returned in the HTML when the page is loaded:

    
    <iframe class='sproutvideo-player' src='https://videos.sproutvideo.com/embed/exampleVideoCode' width='640' height='360' frameborder='0'></iframe>
    

    Any thoughts on how this can be fixed?

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Support Parag Das

    (@parag44)

    Hello @andrewreaganm

    We are very sorry for the issue. To fix this issue, go to wp-content/plugins/tutor/includes/tutor-general-functions.php at line number 802 and then replace the line with this code: $atts = array('min', 'max', 'maxlength', 'type', 'method', 'enctype', 'action', 'selected', 'class', 'id', 'disabled', 'checked', 'readonly', 'name', 'aria-*', 'style', 'role', 'placeholder', 'value', 'data-*', 'src', 'width', 'height', 'frameborder', 'allow','title','allowfullscreen');

    Thank you
    Best Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Lesson Video Embed Removing allowfullscreen attribute’ is closed to new replies.