Forum Discussion
Issues with Embedded YouTube Video
Hello ElyseSmith-0e4a,
Thanks for reaching out!
You can specify the start and end time of an embedded YouTube video by adding this parameter to your embed code:
start=60&end=70;
The number represents the duration in seconds. Here's an example with the correction application of the modifiers:
<iframe width="560" height="315" src="https://www.youtube.com/embed/nn3lwlo6bAE?si=420t6CD4vbxMHQfq&start=60&end=70;" 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>
Hope this helps!
Hi Jose! Thanks for the reply. I tried your suggestion and it gave me an error message when I published stating video couldn't be played. Here's what I added to the embed code as I wanted the video to start at 8 seconds and end at 244 seconds. Any suggestions?
<iframe width="560" height="315" src="https://www.youtube.com/embed/saxfavo1oqo?si=iwyztfibwghvynew&start=08&end244;" 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" width="560" height="315"
- JoseTansengco7 months agoStaff
Hello ElyseSmith-0e4a,
It looks like your embed code has two links to a video, so you may have pasted some of the elements twice. Please try removing the duplicate lines to see if this fixes the problem.
<iframe width="560" height="315" src="https://www.youtube.com/embed/saxfavo1oqo?si=iwyztfibwghvynew&start=08&end244;" 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"></iframe>
- ElyseSmith-0e4a7 months agoCommunity Member
Thanks Jose. I corrected the duplication which fixed the playback error, but adding the "start" and "end" time doesn't impact it. It still plays the entire 11-minute video and doesn't stop where I want it to.
- JoseTansengco7 months agoStaff
Hi ElyseSmith-0e4a,
Please try using this embed code from YouTube of an Articulate 360 video:
<iframe width="560" height="315" src="https://www.youtube.com/embed/nn3lwlo6bAE?si=420t6CD4vbxMHQfq&start=60&end=70;" 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>
I tested the code above in Rise 360 and Storyline 360, and it worked on both platforms. If this code works for you, the issue might be specific to your embed code. You'll want to make sure the video is publicly accessible and has the embed option enabled; otherwise, embedding won't work.
Related Content
- 11 months ago
- 14 days ago
- 14 days ago