Title: Wrong Video Source Default
Last modified: August 13, 2024

---

# Wrong Video Source Default

 *  Resolved [lazal2us](https://wordpress.org/support/users/lazal2us/)
 * (@lazal2us)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/wrong-video-source-default/)
 * 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 1 year, 9 months ago by [lazal2us](https://wordpress.org/support/users/lazal2us/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Sunjida Binta Al Beruni](https://wordpress.org/support/users/sunjida1106/)
 * (@sunjida1106)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/wrong-video-source-default/#post-17951638)
 * Dear [@lazal2us](https://wordpress.org/support/users/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](https://wordpress.org/support/users/lazal2us/)
 * (@lazal2us)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/wrong-video-source-default/#post-17953343)
 * 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](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](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 1 year, 9 months ago by [lazal2us](https://wordpress.org/support/users/lazal2us/).
 *  [Sunjida Binta Al Beruni](https://wordpress.org/support/users/sunjida1106/)
 * (@sunjida1106)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/wrong-video-source-default/#post-17954176)
 * Dear [@lazal2us](https://wordpress.org/support/users/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
 *  [Sunjida Binta Al Beruni](https://wordpress.org/support/users/sunjida1106/)
 * (@sunjida1106)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/wrong-video-source-default/#post-17954341)
 * Dear [@lazal2us](https://wordpress.org/support/users/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](https://wordpress.org/support/users/lazal2us/)
 * (@lazal2us)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/wrong-video-source-default/#post-17954747)
 * 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 1 year, 9 months ago by [lazal2us](https://wordpress.org/support/users/lazal2us/).
    -  This reply was modified 1 year, 9 months ago by [lazal2us](https://wordpress.org/support/users/lazal2us/).
 *  [Sunjida Binta Al Beruni](https://wordpress.org/support/users/sunjida1106/)
 * (@sunjida1106)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/wrong-video-source-default/#post-17954771)
 * Dear [@lazal2us](https://wordpress.org/support/users/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
 *  [wittywolk](https://wordpress.org/support/users/wittywolk/)
 * (@wittywolk)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/wrong-video-source-default/#post-18105248)
 * 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 1 year, 6 months ago by [wittywolk](https://wordpress.org/support/users/wittywolk/).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Wrong Video Source Default’ is closed to new replies.

 * ![](https://ps.w.org/tutor/assets/icon-256x256.gif?rev=3193875)
 * [Tutor LMS - eLearning and online course solution](https://wordpress.org/plugins/tutor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tutor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tutor/)
 * [Active Topics](https://wordpress.org/support/plugin/tutor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tutor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tutor/reviews/)

## Tags

 * [lesson](https://wordpress.org/support/topic-tag/lesson/)
 * [video](https://wordpress.org/support/topic-tag/video/)

 * 7 replies
 * 3 participants
 * Last reply from: [wittywolk](https://wordpress.org/support/users/wittywolk/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/wrong-video-source-default/#post-18105248)
 * Status: resolved