The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
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:
Regards,
Rosalie
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.
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
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.
Can this also prevent youtube videos from being downloaded?
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.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.