• Resolved lazal2us

    (@lazal2us)


    When no video source is selected in the lesson it is fine until you edit the lesson and it changes to HTML 5 (mp4) for example by default.

    • This topic was modified 3 months, 1 week ago by lazal2us.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Dear @lazal2us,

    Pardon me for not understanding your query accurately, Can you please clarify more? Because in Tutor LMS, the HTML 5 option is set by default.?

    Your Regards,
    Sunjida Binta Al Beruni

    Thread Starter lazal2us

    (@lazal2us)

    Hi, No problem. I will explain better and show you below with scree shots.

    If I create a lesson for the first time called “Introduction” that is just a text based lesson. It displays as it should. (See Image Link Below)

    https://ibb.co/6XbfLvj

    If later, the lesson is edited and saved it is then shown as having a video. (See Image Link Below)

    https://ibb.co/vjBvXRB

    This is because when the lesson is edited. It is selecting HTML 5 (mp4) instead of the original setting of “Select Video Source” which means no video.

    • This reply was modified 3 months, 1 week ago by lazal2us.

    Dear?@lazal2us,

    Thank you for clarifying the issue. In Tutor LMS, when you select the video player options, the HTML5 option is set as the default.

    If you prefer not to have the HTML5 option selected by default, you can uncheck it on the settings page.

    Alternatively, you will need to manually choose the “Select Video Source” option each time you edit a lesson.

    Please let me know if you need any further assistance.

    Best Regards,
    Sunjida Binta Al Beruni

    Dear @lazal2us,

    To resolve the issue, please modify the code in the video-metabox.php file, which is located at wp-content/plugins/tutor/views/metabox/video-metabox.php.

    On line 21, replace the existing code with the following:
    $videoSource = tutor_utils()->avalue_dot('source', $video, false);

    This change should address the problem you are experiencing. If you need any further assistance, please don’t hesitate to reach out.

    Your regards,
    Sunjida Binta Al Beruni

    Thread Starter lazal2us

    (@lazal2us)

    Hi, Thanks for the support.

    I believe that if a lesson does not contain video then video should then not be select by default when it is edited and in turn changing how the lesson is displayed on the front end.

    This is unusual and not logical behaviour of the lesson edit function.

    Can this bug be recommended to be fixed in future releases?

    Kindest Regards

    Colin

    • This reply was modified 3 months, 1 week ago by lazal2us.
    • This reply was modified 3 months, 1 week ago by lazal2us.

    Dear @lazal2us,

    Thank you for bringing this to our attention. We appreciate your suggestions and apologize for any inconvenience this issue may have caused. We are carefully considering this matter and will address it in our next update. We value your feedback and are committed to improving our product.

    Thank you again for your input.

    Best Regards,
    Sunjida Binta Al Beruni

    Writing a bump since this is a still active issue, and it’s pretty dumb from UX standpoint. It should at least let us change the default behaviour – if people want to have video to select by default then let them, but I have mostly text but still sometimes need to use the video and changing every single time from video to text is just waste of time. Modyfing plugin PHP files is also not a great approach since it’ll change back with an update. ??

    edit: I checked and the PHP modification doesn’t even resolve this problem.

    • This reply was modified 3 weeks, 2 days ago by wittywolk.
Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.