Skip to content
Snippets Groups Projects
Commit 42ac7f46 authored by uhensler's avatar uhensler
Browse files

OO-4070: Display metadata below the video

parent eb922782
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
......@@ -120,7 +120,7 @@
</script>
</div>
#if($showTitleAndDescription && $description)
#if($showTitleAndDescription && $title)
<h1>$title</h1>
#end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment