- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to prevent users download videos?
Hello everyone,
I had the need to upload videos for a course but one of the requirements was to prevent the videos be downloaded. I found a workaround to achieve this:
- When you embed you videos activate the HTML editor.
- In the code look at this: class=" instructure_video_link instructure_file_link"
- Change that code for "instructure_inline_media_comment video_comment"
Regards,
Rosalie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Very good info Rosalie! I'm wondering if you know of a way to do this globally with the css. Instead of doing this for each individual video.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Brian,
No idea... the thing is I'm not sure we are able to change that as it comes by default in canvas.
Rosalie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Brian,
First let me say that I'm a strong believer that security through obscurity is not security. Meaning, hiding links won't actually prevent the user from being able to download the video. If you load it in the page they will have the ability to save a copy on their computer. That's a by-design feature of the open web. That said, here's a CSS and JS version to globally remove the download links for students:
//CSS HIDE DOWNLOAD LINK
.student-version .link_holder a:not(.instructure_inline_media_comment) {
display: none;
}
//JS REMOVE DOWNLOAD LINK
$(function(){
$(".student-version .link_holder a:not(.instructure_inline_media_comment)").remove();
});
Simply add either of these (you don't need both) to your Account via the Theme Editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can this also prevent youtube videos from being downloaded?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @neugenecu ...
Not really sure about that...but I believe downloading videos from YouTube goes against their Terms of Service...so that would be risky, IMHO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
