Forum Discussion
Youtube in Rise Course
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&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.
- JoseTansengco3 months agoStaff
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&si=83EgLQ60tOiq95HH&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>
Let me know if this works for you!
- KaraPabn3 months agoCommunity Member
Hi! Thanks for the URL, but I'm still getting suggested videos at the end of the 10-second clip:
- JoseTansengco3 months agoStaff
Hi KaraPabn,
That might be a restriction with YouTube if you're signed in to your account. This question was raised here, and it looks like the URL will only work under certain circumstances. I'll let other members chime in in case they have another solution you can check out!