Jul 07 2022 02:00 AM
How do I embed the latest posted video from a YouTube page (dynamic code)? any help please?
Jul 07 2022 04:55 AM
Jul 07 2022 06:27 AM
This I understand. But it's still one specific video. I'm looking for a dynamic embed code which automatically uses always last added video on out youtube page.
Jul 07 2022 06:54 AM - edited Jul 07 2022 06:55 AM
This is not specifically SharePoint related, but you can use the following embedded code and replace "YOUR_CHANNEL_NAME_HERE" with your channel.
<iframe width="600" height="340" src="https://www.youtube.com/embed?max-results=1&controls=0&showinfo=0&rel=0&listType=user_uploads&list=YOUR_CHANNEL_NAME_HERE" frameborder="0" allowfullscreen></iframe>
Jul 07 2022 10:39 AM
Jul 07 2022 10:43 AM
@milankysel could you share the code snippet you are using?
Jul 07 2022 11:32 PM
@Noa-Arkenaar you mean this?
<iframe width="600" height="340" src="https://www.youtube.com/embed?max-results=1&controls=0&showinfo=0&rel=0&listType=user_uploads&list=UC9t-1z5eKCl43eSuAarJRkw" frameborder="0" allowfullscreen></iframe>
Jul 08 2022 12:18 AM
@milankysel This has to do with YouTube and you need to find help with YouTube support for this. I think it has to do something with the copyright or embed settings.
For example, the following is working:
<iframe width="600" height="340" src="https://www.youtube.com/embed?max-results=1&controls=0&showinfo=0&rel=0&listType=user_uploads&list=MrSuicideSheep" frameborder="0" allowfullscreen=""></iframe>