Moodle assignment comments with YouTube links embed the video

If one copies and pastes a comment into the feedback comments dialog in Moodle Grader, links to YouTube videos will automatically embed in the comment when viewed by the student. thus the comment:

3️⃣ Number three: Continuous. Although the car speeds do look to be discrete, technically they are continuous. Data cannot be both discrete (a countable number of possible values) and continuous (an uncountable number of values). There is a video later on,  https://www.youtube.com/watch?v=nzehnqDN5ag that attempts to explain why data such as the pace and speed are continuous, ratio level data.

Looks like this in the student view:
The embedded video has disrupted the flow of the paragraph. 


The fix would be to go into the Source code for the comment and add a embed=no& to the link:

<a href="https://www.youtube.com/watch?embed=no&amp;v=vPFYGVCv2x4">

Performing this operation repeatedly would significantly add to marking time.

One option might be to only copy and paste HTML code into Source code, but that would mean keeping a file of HTML code for copy and paste purposes. For now the workaround may simply be to anticipate the embed and design comments where the embed will not be disruptive. 


Comments

Popular posts from this blog

Plotting polar coordinates in Desmos and a vector addition demonstrator

Setting up a boxplot chart in Google Sheets with multiple boxplots on a single chart

Traditional food dishes of Micronesia