has anyone found a way to insert YouTube videos without the advertisements?

Julie.W.7
Julie.W.7 Posts: 16 🌱
edited February 19 in Higher Ed / Postsecondary

I used to use TedTalk videos, but the embed code no longer works in Brightspace, so I found the videos on YouTube. Unfortunately, I can't find a way to embed the videos without commercials.

Does anyone have a solution?

Answers

  • Jennifer.W.973
    Jennifer.W.973 Posts: 403 🎆

    @Julie.W.7 Try adding a hyphen after the t in the URL, for example: https://www.yout-ube.com/watch?v=rrkrvAUbU9Y

    You can also use that modified URL as the value for src in the iframe embed code that you get from Youtube:

    <iframe width="560" height="315" src="https://www.yout-ube.com/watch?v=rrkrvAUbU9Y" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

  • Julie.W.7
    Julie.W.7 Posts: 16 🌱

    I'm using the embed code

    <iframe width="500" height="281" src="https://www.youtube.com/embed/7YoLMG2qja4?feature=oembed&amp;wmode=opaque&amp;rel=0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="allowfullscreen" title="How technology changes our sense of right and wrong | Juan Enriquez"></iframe>

  • Jennifer.W.973
    Jennifer.W.973 Posts: 403 🎆

    @Julie.W.7 This code works for me in D2L:

    <iframe width="500" height="281" src="https://www.yout-ube.com/watch?v=7YoLMG2qja4" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="allowfullscreen" title="How technology changes our sense of right and wrong | Juan Enriquez"></iframe>

  • Julie.W.7
    Julie.W.7 Posts: 16 🌱

    it looks like it works when you are in Edit mode but after I save and close I get this

  • Jennifer.W.973
    Jennifer.W.973 Posts: 403 🎆

    @Julie.W.7 I think that happens if you're in the description area for module/unit instead of using a regular HTML page.