Hi all,
Thanks a million for giving me the solution to a problem that I had been trying to solve for a long time: embed media (video, audio) in the feedback comments of an assignment in Moodle.
The issue is that I haven't found the template I needed for what I want to do so what I have done is adapt the narration template to my needs. I don't know much about coding, but from my brief experience and looking at many other similar examples in the Internet I got to make it wortk the way I wanted, but then, a tiny little problem came up.
I just want to set two audio files: the first one is the student's audio file, and the second is my audio feedback, nothing else. So I changed the narration template and it works perfectly fine. The problem is that once I save the changes after I grade the assignment, everything dissapears and I cannot edit the grade again. The funny thing is that the student can see and listen to both audios and i can also see them when seeing all submissions, but I cannot edit it again.
I guess that I deleted something important in the code, in the body or in the js coding that causes the problem but I cannot find what it is. I have made thousands of changes but I don't make it work. Can anybody have a look at the template and help me with it, please!!!!
Attached you can see the template I called mp3 feedback.text
Thank you!
Javi