Embed alugha videos in Moodle or other LMS

Summary

Bring multilingual, accessible videos into your Moodle course or any other LMS using the alugha embed code. The embed is a responsive iframe that works in Moodle, TalentLMS, Docebo, Canvas, Thinkific, Teachable, LearnWorlds, and every other platform with an HTML editor — no plugin required.

Prerequisites

Before you begin:

  • published alugha video (see Publish your multilingual video project).
  • An LMS with an HTML editor or raw HTML mode (almost every modern LMS has one — look for an </> or Source button in the text editor).
  • Permission to add HTML content to your course or learning object.

Step-by-Step Instructions

1. Copy the embed code from the dubbr

Follow Share your video with a link or QR code to open the SHARE YOUR PROJECT dialog, then switch to the EMBED OPTIONS tab.

Configure the embed to match your course needs:

  • LANGUAGE — leave on Automatic for auto-detection, or pick a specific language to force it.
  • SUBTITLES — switch to On by default for classroom use if you want captions visible from the start.
  • VIDEO SIZE — keep Responsive 16:9 for almost every LMS layout.
  • CUSTOM OPTIONS — consider enabling Play on loop for looping station-style content, or a Start Video at timecode to focus on a specific segment.

Click COPY next to the EMBED CODE field. The snippet on your clipboard looks like this:

<div style="position: relative; height: 0; padding-bottom: 56.25%;">
  <iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;"
    allow="fullscreen; picture-in-picture" allowfullscreen
    src="https://alugha.com/embed/web-player?v=YOUR_VIDEO_ID">
  </iframe>
</div>

2. Paste into your LMS’s HTML editor

Open the learning object (lesson, page, or activity) in your LMS. Switch the text editor to HTML mode (sometimes labelled SourceCode view, or </>). Paste the embed code where you want the player to appear. Save or publish the learning object.

On the learner-facing view, the alugha player renders inline — responsive, 16:9, with automatic language detection and the usual player controls.

Platform-specific tips

Moodle

  • Open any activity or resource with an Atto or TinyMCE editor (Label, Page, Book, Lesson, Quiz feedback, Forum post).
  • Click the HTML button (</> icon) to switch to raw HTML and paste the embed.
  • Moodle’s default TrustText policy may strip iframe tags from untrusted users — a site administrator can grant moodle/site:trustcontent to trusted teachers if needed.
  • In Book resources the embed sits inline inside the chapter content — use the H5P activity if you want interactive overlays instead.

Canvas

  • In the Rich Content Editor click the HTML Editor toggle (bottom right) and paste the embed.
  • Canvas may wrap the iframe in a sandbox — test in Student View before publishing.

TalentLMS, Docebo, Thinkific, Teachable, LearnWorlds

  • All of these offer a Text / HTML lesson type or Custom HTML widget.
  • Create the lesson, switch to HTML/Source view, paste the embed, save.
  • For Thinkific and Teachable, the Code / Custom HTML lesson type is the cleanest choice — no formatting interference from the WYSIWYG.

SCORM packages

  • If you are building a SCORM or xAPI package (Articulate Storyline, Rise, Adapt, Lectora), insert the iframe as a Web Object or Embed Web Content element.
  • Use the direct embed URL (https://alugha.com/embed/web-player?v=VIDEO_ID) without the wrapping div if the authoring tool manages sizing for you.

Why alugha fits LMS use cases

  • One link, all languages — international courses can reach German, Spanish, French, and more learners with a single embed. The player auto-switches based on each learner’s browser language.
  • Accessibility built in — published subtitles and captions are available in the player without extra setup, helping you meet WCAG and institutional accessibility policies.
  • Responsive 16:9 — the player scales to any container, from mobile to desktop, without breaking your LMS layout.
  • GDPR-compliant hosting — videos are hosted on alugha’s EU infrastructure — a compliance win for EU-based education institutions.
  • No third-party trackers in the embed — learner privacy is preserved by default.

Good to know

  • No LMS plugin needed — every embed is plain HTML/iframe. That also means no plugin-maintenance burden on your IT team.
  • The same embed code works everywhere — once copied, you can paste it into multiple LMS courses, documentation pages, or internal wikis without regenerating.
  • If your LMS strips iframes by default, ask your admin to whitelist alugha.com in the allowed embed domains.
  • xAPI / tracking — alugha does not emit xAPI statements. If you need view-time tracking, wrap the embed in your LMS’s native video-completion widget or use HTML5 postMessage listeners on a custom integration.
  • Mobile apps — most LMS mobile apps (Moodle Mobile, Canvas Student) render iframes via their built-in webview. Test on one device before rolling out to a cohort.

Troubleshooting

The iframe is stripped after I save:

  • The LMS (or its editor plugin) filters iframes for security. Ask your admin to grant trust-content permissions to your role, or to whitelist alugha.com in the HTML sanitiser.
  • In Moodle, check Site administration → Security → Site security settings → Allowed iframes.

The player loads but does not play inside the LMS:

  • Some LMSs block third-party cookies by default — this can affect language detection but usually not playback itself.
  • Check the browser console for Content-Security-Policy (CSP) errors. If you see frame-src violations, add https://alugha.com to your LMS’s CSP.

The player is squashed or oversized:

  • The embed relies on padding-bottom: 56.25% on a wrapping div. If your LMS strips the wrapping div, add a fixed width and height on the iframe instead (for example width="720" height="405").

I want to restrict viewing to logged-in learners:

  • alugha embeds respect the project-level STATE. Set the video to Unlisted so only people with the link (i.e., learners inside your LMS course) can watch.
  • For hard-gated access (pay-per-view-style), the LMS itself handles learner auth — the alugha player sits inside the protected learning object.

Related Articles

Was this article helpful?