]> git.parisson.com Git - teleforma.git/commitdiff
avoid media download
authoryomguy <yomguy@parisson.com>
Thu, 14 Feb 2013 16:04:46 +0000 (17:04 +0100)
committeryomguy <yomguy@parisson.com>
Thu, 14 Feb 2013 16:04:46 +0000 (17:04 +0100)
teleforma/templates/teleforma/seminar_media_audio.html
teleforma/templates/teleforma/seminar_media_video.html

index 8c5c6f899107e37aa51a87d5bdf213355cdc237b..0431ca99952e363e3c28749ce8d23a78ddeaa980 100644 (file)
@@ -123,6 +123,10 @@ function jumpToTimeoffset(time) {
     media.play();
 }
 
+$(document).ready(function(){
+    $('#audio_1').bind('contextmenu',function() { return false; });
+});
+
 </script>
 
 {% endblock index %}
index 72863e730d4b259a21332938720b5ccb5c8eb985..bf01c3eaaf10b42ec443d7d207393747144fbcde 100644 (file)
@@ -165,6 +165,10 @@ function jumpToTimeoffset(time) {
     Player.play();
 }
 
+$(document).ready(function(){
+    $('#my_video_1').bind('contextmenu',function() { return false; });
+});
+
 </script>
 
 {% endblock index %}