Latest Youtube Video in PHP
- December 23rd, 2010
- Posted in Code . Web
- By admin
- Write comment
As you may know, I have just released an improved version of my website. This version has a variety of new features which I will not go into detail on in this article. One of the things I wanted to add to it was my latest youtube video, that is, embed the latest video on my channel.
As it turns out, doing this is quite trivial. Google has already made a web API for converting youtube channels into RSS code. All I had to do was integrate this into their already existing video embed code. The code to do this was not that hard to come up with, and it works like a charm. This is pretty much all of the code that I used to embed the latest video on my channel directly into a webpage:
No comments yet.