at some point you need to change the size of the objects on your website as you change or modify the template to accommodate the advancements in browsers and displays. however, if you use THE embed CODE provided by youtube, the size of the video object will be static which means that in order to change the width and height of all the videos in the posts you SHOULD edit them one by one; that is a lot of work and stupid.
i tried to replace the static width and height values of youtube videos with php variables but i failed. i didn’t know that wordpress doesn’t let you embed php in posts. today a friend of mine told me how to get around that by installing a plugin that allows using php in posts. just before looking for that plugin i thought to myself: “wait a second! isn’t there a youtube plugin that does what i need? mayBE better and fancier?” the answer: there are so many of them! INstead of reinventing the youtube plugin, i now post a video about reinventing the wheel using the existing youtube plugin called: smart youtube.


no response to “reinventing the wheel”