AnsweredAssumed Answered

Setting Stop Time Not Working for Embedded Videos

Question asked by Sue Winter on Mar 19, 2020
Latest reply on Mar 23, 2020 by Sue Winter

I have used html code to set a stop time for a video that I have uploaded to Canvas and added to a Canvas page, but I can't get it to work with an embedded video. I have looked at Notes on YouTube Playlists, and the information re this seems to be the same as what I am doing.

 

Here is the original html embed code:

<p><iframe src="https://www.youtube.com/embed/VN6tlhsWkLI" width="560" height="500" allowfullscreen="allowfullscreen" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"></iframe></p>

 

Here is what I changed it to by adding start and stop times:

<p><iframe src="https://www.youtube.com/embed/VN6tlhsWkLI?start=5&stop=221" width="560" height="500" allowfullscreen="allowfullscreen" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"></iframe></p>

 

Here is what Canvas ultimately changes it to (after saving and going back in):

<p><iframe src="https://www.youtube.com/embed/VN6tlhsWkLI?start=5&amp;stop=221" width="560" height="500" allowfullscreen="allowfullscreen" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"></iframe></p>

 

When I save this page, there are no start or stop times for the video. It just plays from beginning to end. When I return to the html code, my start and stop times are still there, but don't seem to do anything.

 

Has anyone else run into this?

Outcomes