diff --git a/src/videoag/course/Player.tsx b/src/videoag/course/Player.tsx index 397c28fa2f40334d33cfcaf7dafc6b59e7f692e8..2a296dc7eaa99eb54aa4d66a02dc9fb01124a95f 100644 --- a/src/videoag/course/Player.tsx +++ b/src/videoag/course/Player.tsx @@ -183,6 +183,10 @@ function VideoPlayer({ lecture, className }: { lecture: lecture; className?: str id="videoplayer" controls data-wasnotplayed="1" + onContextMenu={ + (event) => + event.preventDefault() /* Disable right-click on video to prevent 'Download as' */ /* TODO add own context menu */ + } width={1080} height={720} />