🖼️Embed Pi Games in Canvas LMS

    Canvas is used by many universities and K-12 schools. You can embed PracticePi games directly in Canvas pages.

    Your Embed Code

    <iframe
      src="https://www.practicepi.com/embed/memorize?theme=light"
      width="100%"
      height="650"
      frameborder="0"
      style="border-radius:8px;display:block;"
      title="Pi Memorization Game - PracticePi"
      allowfullscreen>
    </iframe>

    Step-by-Step Instructions

    1

    Get your embed code

    Copy the embed code from the box above, or customize it in the Embed Code Generator.

    2

    Edit a Page in Canvas

    Go to your course, click Pages, then create a new page or edit an existing one.

    3

    Switch to HTML Editor

    In the Rich Content Editor toolbar, click Insert → Embed, or click the HTML Editor button to switch to source view.

    4

    Paste the embed code

    Paste the PracticePi iframe code. If using the Embed dialog, paste the URL directly.

    5

    Save the page

    Click Save. The game will appear immediately on the published page.

    Important Notes

    • Canvas may require your admin to add practicepi.com to the domain allowlist for iframes.

    • The Rich Content Editor's "Embed" option may work better than raw HTML on some Canvas instances.

    Troubleshooting

    Canvas strips out the iframe tag

    Your Canvas instance likely has iframe restrictions. Ask your Canvas admin to add practicepi.com to the allowed domains list under Admin → Settings → Security.

    I only see a link, not the game

    Try using Insert → Embed instead of pasting raw HTML. Canvas sometimes converts iframes to links in the visual editor.

    The game shows on desktop but not mobile

    Canvas's mobile app has limited iframe support. Students may need to tap 'Open in browser' to play.

    Frequently Asked Questions

    Is PracticePi free to embed?

    Yes, completely free for schools and teachers. No account or subscription required.

    Do I need to create an account to embed?

    No account needed to embed. Just copy the code and paste it into your website.

    Will the embedded game work on mobile?

    Yes, all PracticePi embeds are fully mobile responsive and work on phones, tablets, and desktops.

    Does PracticePi collect student data?

    No personal student data is collected. Game scores are anonymous. PracticePi is COPPA and FERPA compliant.

    What CMS platforms are supported?

    WordPress, eCatholic, Squarespace, Wix, Google Sites, Weebly, Webflow, Schoology, Canvas LMS, Notion, and any HTML website.

    Does the embed require maintenance?

    No. The content auto-updates with new daily facts and live leaderboards. No plugins to update or maintain.

    Need Help?

    We'll help you add PracticePi to your Canvas LMS site for free.