1.8 – “class” parameter

In version 1.8 I’ve added the class parameter.

All it does is add class names to the video wrapper.

If you need to add 2 or more class names, all you have to do is wrap them between double quotes (class=”class1 class2″).

This way you can, for example, position a video to the right of your text in a post such as this one :)

Shortcode parameters used:

url=http://youtu.be/CIcIyVQ3E_E w=400 class=alignright

2 thoughts on “1.8 – “class” parameter

  1. I am trying to do the same, i.e. make the video float to right or left by using “alignright” or “alignleft”, but that does not actually produce a floating effect, the video just aligns left or right with no wrapping text

    also tried using “float: right” but didn’t work

  2. Pretty great post. I just stumbled upon your weblog and wanted to mention that I’ve really loved browsing your blog posts. After all I will be subscribing in your feed and I am hoping you write again very soon!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>