Embed YouTube video into your Learning Wall

Published On: January 20, 20152 min read

On this page

    YouTube for Schools is fantastic and provides a huge array of fascinating resources. Embedding video directly into your Learning Wall is straightforward and you can practice some of your coding skills while you’re doing it.

    Finding the YouTube Embed Code

    youtube-embed-start

    Under the video there are some share options, click Embed and you will see the embed code below.

    Simply copy the code and you can now paste it into the ‘Widget Code’ box in your Learning Wall app.
    To do this, go to your Learning Wall and click ‘Create App’.
    In the Type dropdown list, select ‘Widget’. Paste your code here.

    Customise, Test and Debug Embed Code

    If you save the App straight after you have pasted the embed code into your Wall it won’t look quite right. There are a few things we need to do to make the Widget work perfectly.

    Size

    To make the video fit perfectly into the box, change the width and height attributes.
    In the embed code find the ‘width’ and ‘height’ attributes.
    Change both of these to ‘310’ – that is the size of the box in pixels.

    Show Related Content

    To stop YouTube showing suggested related videos once yours has finished playing you need to edit the src attribute within the embed code.
    In the embed code add ?rel=0 to the end of the url.
    eg: src=”//www.youtube.com/embed/NegRGfGYOwQ?rel=0”

    Show Player Controls

    To hide all the player controls from the video you need to add a separate extension to the src url.
    In the embed code add ?controls=0 to the end of the url.
    eg: src=”//www.youtube.com/embed/NegRGfGYOwQ?controls=0”

    Show video title and player options

    To hide the video title and player options that are displayed automatically you need to add a separate extension to the src url.
    In the embed code add ?showinfo=0 to the end of the url.
    eg: src=”//www.youtube.com/embed/NegRGfGYOwQ?showinfo=0”

    IMPORTANT NOTE

    If you are adding more than one of these options into the url then you need to add & between each command otherwise it won’t work.
    Eg: src=”//www.youtube.com/embed/NegRGfGYOwQ?rel=0&controls=0&showinfo=0”

    Testing

    Make sure that any changes you make are spelt correctly or they won’t work.
    Make sure that you don’t delete any punctuation and be careful for syntax errors.

    Two Schudio colleagues talking over laptops at the office table

    Written by the team at Schudio

    We are an owner-run firm in Blackpool, and have been since 2011. We build school and multi-academy-trust websites, the software behind them, and the compliance work that keeps them right. Our posts come out of the audits we run, so they say what we actually see.

    A question about this post? Email hi@schudio.com and a real person will answer.

    Keep reading

    • The Website Insights dashboard shown in a browser window, with navigation health and an ease-of-use score
      Introducing Website Insights: a clear view of how your school website is doing
    • School Website Analytics Engagement: What Your Website Is Telling You (If You Know Where to Look)
    • Meet the Schudio Teaching Assistant – Powerful AI School Website Support

    Always Ready

    Want your website looked at properly?

    Tell us what your site is like to keep up to date at the moment, and we will give you a straight answer on what would help.

    Prefer a short email once a week? Get the Schudio newsletter.