diff --git a/src/main/java/org/olat/modules/video/ui/VideoDisplayController.java b/src/main/java/org/olat/modules/video/ui/VideoDisplayController.java index 07acf1cc29ab2be19ebfc5d0b7a3758393d0f7ee..a60ff32dca6a9dc651785278c8b62e7b78a5dd30 100644 --- a/src/main/java/org/olat/modules/video/ui/VideoDisplayController.java +++ b/src/main/java/org/olat/modules/video/ui/VideoDisplayController.java @@ -132,7 +132,9 @@ public class VideoDisplayController extends BasicController { super(ureq, wControl); this.videoEntry = videoEntry; this.displayOptions = displayOptions; - descriptionText = displayOptions.isCustomDescription() ? descriptionText : displayOptions.getDescriptionText(); + this.descriptionText = displayOptions.isCustomDescription() + ? displayOptions.getDescriptionText() + : courseNode.getLearningObjectives(); mainVC = createVelocityContainer("video_run"); putInitialPanel(mainVC); 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 74c4cad307008d687f6a74f8dda6cd1476eb6f72..050b8d036c6f728f5cfbf9cc1a520f20c9ebf210 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 @@ -120,7 +120,7 @@ </script> </div> - #if($showTitleAndDescription && $description) + #if($showTitleAndDescription && $title) <h1>$title</h1> #end