your q/s, our answers: embed video in D2L

 

Qustion: Can I embed video into D2L discussion posts (ie. a youtube video)? questions and answers

Answer:

When trying to embed video into a D2L discussion, it breaks with a 500 error.
upon examination of the embed code, the protocol is missing from the source.

example:
<iframe width=”560″ height=”315″ src=”//www.youtube.com/embed/xtNhf0eA120?rel=0″ frameborder=”0″ allowfullscreen></iframe>  Note the src=”//www…..

SOLUTION: In order to successfully embed a video you’ll need to alter that bit of code to be http://www&#8230;..  or https://www&#8230;.
Reported  this to the MnSCU D2L team, as the embed preview works.

1 Comment on your q/s, our answers: embed video in D2L

  1. Plamen Miltenoff
    August 1, 2013 at 2:55 pm (3 years ago)

    Here is MnSCU addressing the same issue:
    Q: Why do I get an error when I insert a YouTube embed code in D2L?
    A: Youtube has revised the embed code it provides for sharing videos. The new embed code does not work properly when used in D2L, so we have a workaround. The simple fix is to add http: in front of the forward slashes in the embed code source URL. An alternative is to use the “old” embed code that YouTube provides.
    For screen shots and step-by-step instructions for workarounds, https://d2l.custhelp.com/app/answers/detail/a_id/1382/kw/1382

    Reply

Leave a Reply