Forum Discussion

PiroskaCampo's avatar
PiroskaCampo
Community Member
3 years ago

Youtube in Rise Course

Hello,

I need to clip a Youtube video before I embed it into a Rise course.  How do I do this?

Thanks!

Piri

  • KaraPabn's avatar
    KaraPabn
    Community Member

    For example, below is an embed code to play a clip from :10 to :30. It works as intended embedded in the Rise360 course. 
    <iframe width="560" height="315" src="https://www.youtube.com/embed/gjDCZBTpRPA?si=83EgLQ60tOiq95HH&amp;start=10&end=30" 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>

    However, if I try to add ?rel=0 to the end of the Youtube URL the entire video plays, not the 20 second clip. 

    • JoseTansengco's avatar
      JoseTansengco
      Staff

      Thanks for sharing your URL. I modified it to use the proper format for disabling the suggested videos. Let me know if this works for you!

      <iframe width="560" height="315" src="https://www.youtube.com/embed/gjDCZBTpRPA?rel=0&amp;si=83EgLQ60tOiq95HH&amp;start=10&amp;end=30" 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>

      Let me know if this works for you!

      • KaraPabn's avatar
        KaraPabn
        Community Member

        Hi! Thanks for the URL, but I'm still getting suggested videos at the end of the 10-second clip:

         

  • KaraPabn's avatar
    KaraPabn
    Community Member

    This is very helpful. I'm wondering if there's any way to add the ?rel=0 code within this embed code in order to prevent video recommendations popping up? I've tried to combine the above start/end time code with the ?rel=0 and have not been successful. 

  • Hi Piri!

    You mentioned you'd like to clip a YouTube video before embedding this in Rise. This means you'd like to trim the video, and change the start and end time, is this correct?

    You can add a start time and end time to YouTube's Embed code, which you will use in the Embed block in Rise. My colleague, Alyssa, recorded this quick and easy 1-minute video demonstrating how to do this.

    Let me know if you need help with this. Have a lovely day! 

    • jenlyzell's avatar
      jenlyzell
      Community Member

      Hi! This was super helpful! The only thing missing in the video is that you have to write the times as total seconds, not minutes and seconds. So instead of 1:14, you would write 74. This threw me when I was editing the embed code, but I was able to find this info from a different source.

    • PiroskaCampo's avatar
      PiroskaCampo
      Community Member

      Wonderful! That's exactly what I've been looking for.

      Thank you, Gren and Alyssa!

      Best,
      Piri Campo