Topics Map > Instructional Technology > D2L
Placing Material in D2L with Embed Code
Many items that you can "share" on the internet allow users to copy "embed code," which allows people to place materials in their websites or blogs. The below example is from YouTube, but other sites are similar. Once you find the "embed" link you may copy the code (which the site will usually highlight for you).
Embed code is a great way to bring outside material into your D2L site. Using embed code will make you the envy of your peers.
You may place that internet content just about anywhere in D2L where you can enter text: News items, Content Pages, Quiz Questions, and Discussion Posts. You will know that it is o.k. to place the embed code if you see the following icons in the lower right corner.
Click on the icon that looks like two brackets with a diagonal line through it.
You should now see a box where you can enter your text, called the "html source editor."
Paste the embed code you copied from the outside website into the source editor. Put the code in between <body> and </body>. If there is material already in the page, this editor will look fuller and you will have to search for the best place to paste your code. (But, you can do it!)
Before saving your changes, note whether or not the web address in the embed code begins with "http" or "https". If it begins "https" your life is good and you will be done. If the address begins "http" you will have to instruct your users on how to undo the security feature in their web browser that will block materials that are insecure. The "s" in the web address stands for security.
If the website was secure - started with https - then you are done and your page will look like this in D2L.
If the web address began with "http", you will have to disable the protection in your browser (Firefox, Internet Explorer, Google Chrome, or Safari). Different browsers have different procedures, but the two most common at UWGB are Firefox and Chrome. To disable the protection look for the signal in the address bar. Safari and Explorer will have analogous buttons to click. Once you disable the protection, you will be able to see the content. You will have to instruct your students on how to disable their browser's protection as well.
Disable protection in Firefox
Disable protection in Google Chrome