Forum Discussion
Issues with Embedded YouTube Video
Hi E-Learning Heroes Community!
I embedded YouTube videos into a Storyline course I created, but now learners receive a sign-in to confirm you're not a bot message. I think it might have to do with my company's VPN, but I am not sure. I don't want learners to have to sign-in to YouTube to view the video.
Has anyone else had this experience?
Do you know of a work around?
Thanks!
Meg
10 Replies
- SBP_IncCommunity Member
YouTube (and parent Google) have started to implement stronger anti-bot measures that are difficult to bypass. The action was Google's response to someone in the southeastern US that found a way to game this system and create phantom views.
- MegDeegCommunity Member
Thanks for the feedback!
- KelleyRossCommunity Member
Is there a solution to this problem for embedding a video within a Storyline training?
- ElyseSmith-0e4aCommunity Member
Not sure this is the right thread, but is there a way to edit the embed code of a YouTube video to only play a segment? I see when I copy the embed code, I can designate a start time, but can I add "code" to where I want it to stop?
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!
- ElyseSmith-0e4aCommunity Member
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"