Add to Technorati Favorites


Resizing YouTube embedded video - width and height ratio

To maintain reasonable proportions when resizing embedded YouTube video’s, multiply your desired height by

1.2354651162790697674418604651163

To get the correctly proportioned width.

For example: the original width of 425 pixels and height of 344 pixels resizes to 185px by 150px. The HTML fragment below shows you where to change the width and height values (change occurrences of the numbers 185 and 150).

1
2
3
4
<object width="185" height="150">
<param name="movie" value="http://www.youtube.com/v/TMtnrJdNs_o&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/TMtnrJdNs_o&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="185" height="150"></embed></object>

Posted in Tips | No Comments »

tWPtter ~ plugin

Version 0.1 of my new micro-blogging plugin is now available.

You can download it from here.
I’m always looking for suggestions on I can improve things, any suggestions for amendments to tWPtter will be gratefully received.
Please post any comments below…..

...[More]...

Posted in Wordpress | 1 Comment »

Wordpress 2.3+ schema for taxonomy tables

I’ve been rewriting a number of my plugins to bring them up-to-date. This will include a version of If You Liked That that uses tags to identify similar or related posts. The new (version 2.3+) Wordpress taxonomy tables are not very well documented as far as I can tell so here is small EAR model […]

...[More]...

Posted in Wordpress | No Comments »

New Development Environment

I’ve been putting off installing a new Apache, Mysql, PHP and Wordpress development environment on a new Windows laptop I recently purchased as it has always taken a few hours and is fairly dull - I can think of better things to do. However, that is no longer true as I came across http://www.en.wampserver.com which […]

...[More]...

Posted in Linux / Windows Apache Mysql PHP | No Comments »

Plugin Change Lists ~ May 2008

With a few thousand downloads of my plugins out there cluttering up the internet and a couple of new plugins in the pipeline I thought it was time to carry out some maintenance mainly following your feedback. This is my current list of changes if you know of any others then please let me know […]

...[More]...

Posted in Wordpress | No Comments »

Drupal Hints & Tips

My memory being close to a sieve in its composition, there are all sort of bits & pieces that I keep forgetting when it comes to using Drupal.

...[More]...

Posted in Drupal | No Comments »

Blog Facelift

I’m giving this blog a facelift at the moment as I think the original theme was ‘nasty’ … please bear with me whilst things change.
Once I’m happy with the blog I’ll get back to answering your queries on my plugins and releasing new versions. There are also a couple of new plugins in the works….

...[More]...

Posted in Bochgoch Developments | No Comments »

Wordpress SEO ~ permalinks

The first and easiest thing to sort out are the permalinks (the fully stated URL) that Wordpress creates to access each of your posts.

...[More]...

Posted in Wordpress | No Comments »

Scratchback for Wordpress Plugins

I was scratching around (sorry!) on a couple of forums and read of people using Scratchback.

...[More]...

Posted in Wordpress | No Comments »

Drupal Documentation

The new kid on the block around chez bochgoch is Drupal. I thought it would be useful (if only to me) to put together links to some useful documentation for Drupal. So…

...[More]...

Posted in Drupal | No Comments »

Next Page »