From 5376a12b0c1adaee0bafa17acb0a288ff5c4514b Mon Sep 17 00:00:00 2001 From: yomguy Date: Thu, 14 Feb 2013 17:04:46 +0100 Subject: [PATCH] avoid media download --- teleforma/templates/teleforma/seminar_media_audio.html | 4 ++++ teleforma/templates/teleforma/seminar_media_video.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/teleforma/templates/teleforma/seminar_media_audio.html b/teleforma/templates/teleforma/seminar_media_audio.html index 8c5c6f89..0431ca99 100644 --- a/teleforma/templates/teleforma/seminar_media_audio.html +++ b/teleforma/templates/teleforma/seminar_media_audio.html @@ -123,6 +123,10 @@ function jumpToTimeoffset(time) { media.play(); } +$(document).ready(function(){ + $('#audio_1').bind('contextmenu',function() { return false; }); +}); + {% endblock index %} diff --git a/teleforma/templates/teleforma/seminar_media_video.html b/teleforma/templates/teleforma/seminar_media_video.html index 72863e73..bf01c3ea 100644 --- a/teleforma/templates/teleforma/seminar_media_video.html +++ b/teleforma/templates/teleforma/seminar_media_video.html @@ -165,6 +165,10 @@ function jumpToTimeoffset(time) { Player.play(); } +$(document).ready(function(){ + $('#my_video_1').bind('contextmenu',function() { return false; }); +}); + {% endblock index %} -- 2.39.5