You can use the Kaltura plugin in the text editor to embed video content.
The text editor is used to create the following content types in Moodle:
The text editor is also available from the Description field of activities or resources and within Quiz questions.
Embedding videos within a resource ensures that students can access the relevant video content as they need it. It also provides a more integrated navigation experience as students can review text and video content within the same resource without having to navigate back to the module homepage.
Performance & access
Do not embed more than three video files using Label on your module page. Videos embedded via a Label load as the student accesses the module and impact on module load times and performance.
Add meaningful titles to Labels that display video content to help students find these in the Module index.
Open the Page or Book resource where you want to embed the MediaSpace video.