Logo Design & Baseball

“A hot dog at the ball park is better than a steak at the Ritz.“ – Humphrey Bogart Let’s go with the baseball analogy. It is summer, it the second half of the 2011 baseball season. And…our very own Phillies have THE best record in the major leagues. So, life is good! What I love about baseball is the simplicity of watching the game. A player pitches the ball, a player hits the ball and…

"Logo Design & Baseball"

PHP – Make Youtube embed code from an Url

A small php function that transforms a youtube url in its embed script. function make_youtube_embed_from_url($url) { $url = str_replace(‘?v=’,’/v/’,$url); $out = ‘<object width=\”425″ height=\”350\”><param name=\”movie\” value=\”‘. $url .’\”></param><param name=\”wmode\” value=\”transparent\”></param><embed src=\”‘. $url .’\” type=\”application/x-shockwave-flash\” wmode=\”transparent\” width=\”425\” height=\”350\”></embed></object>’; return $out; }

"PHP – Make Youtube embed code from an Url"