From: yomguy Date: Thu, 14 Feb 2013 16:04:46 +0000 (+0100) Subject: avoid media download X-Git-Tag: 0.9-probarreau~66 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5376a12b0c1adaee0bafa17acb0a288ff5c4514b;p=teleforma.git avoid media download --- 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 %}