LateNight Coding

  • Increase font size
  • Default font size
  • Decrease font size

Examples

Example 1

Simple command where only the video id is specified, while all the other parameters take default values.

{qtube vid:=XJKsxmiEWOc}

Example 2

This time we specify custom video frame dimensions, border and colors, set autoplay on and related videos off.

{qtube vid:=XJKsxmiEWOc w:=320 h:=267 b:=1 c1:=402061 c2:=9461ca ap:=1 rel:=0}

Example 3

An example of how video container style can be modified with a css stylesheet. We use the cl parameter to specify a class attribute for the <object> tag, then add the following lines to template.css file of our template

.qtube {
float: left;
}

{qtube vid:=RMzDH44nC3s w:=320 h:=267 b:=1 c1:=402061 c2:=9461ca cl:=qtube}

As you can see the video frame is left aligned and text flows to its right.

Let's add some extra word so that you can see it better!