YouTube API question

I want to embed a portion of a YouTube video into a powerpoint presentation. I have this portion of code:

<iframe width="560" height="315" src="https://www.youtube.com/embed/pbYAhjASGFY?start=132&end=167" frameborder="0" allowfullscreen></iframe>

It starts at the correct time (2:12), but it doesn’t end at the designated stop point. Do I have a syntax issue?

EDIT: And thanks to @hon1nbo who knew the magic to make the code line actually show instead of interpret.

1 Like

Can you validate than when you load on the same system that the default browser on your computer honors the end time? I can’t recall if PowerPoint will use it’s own browser for this, the default browser, or IE/Edge engine

Loading the link here it ends on the time stated.

I’m also wondering if using an iframe is part of the problem, as invisible frames can be wonky due to framebusting code and browser handling intended to deter invisible elements from trying to evade security measures.

Hmmm. I suspect powerpoint uses its own player. That could be the problem. Thanks.