-1
I have a youtube channel and I want every time I put new video, automatically update in my blog’s iframe.
-1
I have a youtube channel and I want every time I put new video, automatically update in my blog’s iframe.
3
Uses the parameter listType=user_uploads
iframe will show all recent posts on your channel.
Here’s an example I used on my site (http://holiveira.com)
<iframe
width="560" height="315"
src="//www.youtube.com/embed/?listType=user_uploads&list=metacodigo&showinfo=1&theme=light"
frameborder="0" allowfullscreen>
</iframe>
Just swap the "metacode" value of the list parameter with the name of its channel.
Good luck!
Thank you holily, it worked. That’s what I needed. Hugs.
Browser other questions tagged youtube
You are not signed in. Login or sign up in order to post.
Grab your channel feed and write a script to update it in the period when you usually post your videos.
– Lucas Lima
Have you tried anything? Have some difficulty specific that your blog features do not provide?
– Luiz Vieira
So, guys, it’s not really a blog, it’s a website. supermarketosta.com.br and every week has promotion, and every time I have to change the same hardcode src. So I would like to automate this binding. I have no script yet, only the same iframe and I change the source.
– Flávia Amaral
It would be better if you were to provide more details on how you want to do this. Backend or frontend? Do you have access to the Youtube API? Anyway, one trick I saw is to post all your videos on a single playlist, and embed the playlist on the site, so the newest video will always be shown. It’s simple and it works.
– Gabe