Home > php-youtube-site-o-matic

php-youtube-site-o-matic

Php-youtube-site-o-matic is a project mainly written in PHP and JAVASCRIPT, it's free.

Basically, it's your YouTube profile with its own domain and CSS.

PHP-YouTube-Site-o-Matic*

* Tentatively titled. Open to suggestions...

Takes a YouTube username (and a couple other variables) and returns a whole video website with paginated lists, thumbnails, embeds, comments, and an RSS feed.

Basically, it's your YouTube profile with its own domain and CSS.

Examples:

  • videos.iamnotagoodartist.com
    Pardon the swears...
  • tommyandthetommies.com
    The site I originally wrote this script for. Only has a couple videos. Modified CSS.

Needs PHP5 and a YouTube username. Doesn't need a database or a YouTube API key.

Instructions

Unzip into an empty domain or subdomain. Links may need some editing if you use it in a non-root folder.

Open index.php and switch out the user variables with your own. If $_SERVER["HTTP_HOST"] doesn't come out to be something like yourdomain.com, try $_SERVER['SERVER_NAME'] or write the domain in manually. After that, everything's aesthetic. Restyle to suit.

Credit

  • Mullenweg's AutoP function
  • jQuery Masonry by David DeSandro

Could Use...

  • Caching
  • Tags
  • View counts

Disclaimer

I wrote this awhile ago and am not 100% on some of it. I'm putting it on GitHub to see if there's any interest. No warranty, no guarantee, use at your own risk, etc.

License

Open source GPL. Attribution appreciated but not required.

Previous:proyectos