Videos in your Blog
Posted by JeffOct 10
If you're new here, don't forget to subscribe to my RSS feed. You will regret it if you don't.
Thanks for visiting! See you again Soon!!!So I have been thinking that it would be really cool to put videos from Google Video and YouTube (now both owned by Google) in my blogs. I checked out a couple of the standard plugins that are out there and they either did too much and the syntax when writing in the blog was convoluted or they didn’t work.
Therefore this weekend I began writing a plugin to do just that, however I found out very quickly that I am not very good at filtering strings with PHP. I have been able to get everything that I want it to do to do it so far except I can’t get it to work as a plugin. Basically the syntax will be [vid type='xx' data='xxxxxxxxxxx'][/vid], the type will be for the video, and the data will depend on the type. I am hoping that a simple id will work for most. Also in future versions you will put a title in between that will be either above or below the video, and maybe I will add functions so that you can vary the size too, but I think that will start making the plugin too much for what I want to be able to do.
If anyone else out there is interested in something like this please let me know, otherwise I am sure that this will sit on the back burner until I get very bored again, which doesn’t happen very often.
Find out what I am doing right now by following me on Twitter!
If you like this post then please consider subscribing to my full Bluenoser Feed. You can also subscribe by Email and have new posts sent directly to your inbox.























Leave a Reply