Description and Purpose
Learning Environment (LE) layout components are interactive modules that typically replicate a real-world tool and allow learners to take specific actions in the exercise. Depending on which components are used in an exercise, different tests and checkpoint functionality may be available.
The Video component in the LE provides space for a video in the form of a Youtube embed URL or a URL that’s stored in Codecademy’s Amazon S3 bucket.
This is the only layout that supports video content.
This is a Layout Component that can be added to an exercise in a lesson or a project.
Fields in Author
URL of the video you want to display.
- If it’s a YouTube video, you must use the embed url which likely has the format:
- YouTube URLs in the embedded
iframemust be in the format
youtu.be/[video id], not
You may wish to remove some of the arguments in the
allowparameter as they may override selected settings.
Ensure users are able to enable or see captions on your video. This aligns with Codecademy’s accessibility standards
In Author, there are several optional checkboxes that can change how the video will play for learners.
This causes the video to play as soon as the learner enters the exercise.
This setting causes the video to replay the video after it ends.
This setting causes the video to play without sound.
Show Video Controls
This setting causes the video to show video controls, like pause and play, in the exercise along with the video.
- Asymptotic Notation: Conceptual uses a Video component to explain the concepts of Big Omega and Big(O).