diff --git a/src/main/java/org/olat/modules/video/ui/_content/video_preview.html b/src/main/java/org/olat/modules/video/ui/_content/video_preview.html index 4445da6917fc37a349786e8deca3d4a923664541..111f6c40380b22434a53a9e02e8dd706112cf284 100644 --- a/src/main/java/org/olat/modules/video/ui/_content/video_preview.html +++ b/src/main/java/org/olat/modules/video/ui/_content/video_preview.html @@ -1,6 +1,6 @@ <div class="o_video_run o_block_large_bottom o_clearfix"> <div class="olatFlashMovieViewer"> - <video id="$r.getId("o_vid")" width="$width" height="$height" controls autoplay class="o_video"> + <video id="$r.getId("o_vid")" width="$width" height="$height" controls autoplay preload="none" oncontextmenu="return false;" class="o_video"> <source type="video/mp4" src="$mediaUrl/$filename" /> </video> diff --git a/src/main/java/org/olat/modules/video/ui/_content/video_run.html b/src/main/java/org/olat/modules/video/ui/_content/video_run.html index 075ccaea53f7d271e51487afefb7d0b7e5e74f1e..bb2e7d0159855fdda8862bd9e41957c16688baf3 100644 --- a/src/main/java/org/olat/modules/video/ui/_content/video_run.html +++ b/src/main/java/org/olat/modules/video/ui/_content/video_run.html @@ -1,6 +1,6 @@ <div class="o_video_run o_block_large_bottom o_clearfix"> <div class="olatFlashMovieViewer"> - <video id="$r.getId("o_vid")" width="$width" height="$height" poster="$masterUrl/poster.jpg" controls preload="none" #if( $autoplay ) autoplay #end class="o_video"> + <video id="$r.getId("o_vid")" width="$width" height="$height" poster="$masterUrl/poster.jpg" controls preload="none" oncontextmenu="return false;" #if( $autoplay ) autoplay #end class="o_video"> #foreach($video in $videos) #set($position = $velocityCount - 1) <source type="video/mp4" src="$transcodedUrl/${video.getResolution()}video.mp4" title="$displayTitles.get($position) ($r.formatBytes(${video.getSize()}))" />