What is the HTML Instructure Class Inline Media Comment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am working with a professor who has many pieces of media (audio and video files) embedded into her course using a unique method I've never seen before. These files are used in pages and quiz questions alike. The HTML for the content is something like:
<a id="media_comment_abcd" class="instructure_inline_media_comment audio_comment" href="/media_objects/abcd">this is a media comment</a>
These audio and video files don't show up in the file view of Canvas and there is no way to follow back the code to find an original file that is being linked to. They have also, most importantly, stopped working for students, though I can still access them with an admin view. I've figured out how to extract the media so that it be properly embedded (fun fact: just change the word "audio" above to "video" and it will produce a small download button that you can use to get the file). However, I'm still at a loss for:
- how she made these in the first place, and
- why they stopped working after years of not causing her any trouble.
Does anyone have any insight into these? I've tried searching for similar HTML code elsewhere and talking to our IT folks to no avail.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From what I can see, I'm going to guess the unique tagging found in this is likely automatically added due to how Instructure inserted media into content when users attempted to add media. This would likely explain why it looks different than what you are used to now. Thank you for sharing. I was curious to see it in relation to your comment about HOW they added the media to see if it was possibly hard coded that way or due to how Instructure handled things.
Since you traced it partially back to the 2017 course and could not find the file there, I suspected that the origins are an older course or some course that may have been wiped to increase available storage. Yet you mentioned being able to get them to work in the Admin view. I'd suggest submitting a Help Ticket to Instructure. Since it is working in the Admin view and not for students, either some bug was introduced in a result update or there has been a change in how files are accessed. If the former, they might be interested to hear about it.