A cricket bat!
Twelve years, and four psychiatrists!
Four?
I kept biting them!
Why?
They said you weren't real.

Monday, March 31

Blog

New In 1.2: Video At Last!

Just as a reminder, this series of posts is talking about features in the new 1.2 relase coming in April. These tags aren't available on the live system just yet; I've copied the HTML produced by the test system to demonstrate their effects.

A couple more toys for you to play with, in the form of the [video] and [music] tags. I'm cheating slightly to show them working here, because while the player is installed on the server, the updated BBCode engine isn't.

To start with something simple, the tag [video=/flash/NewCuteyHoneyOp2.flv image=/flash/NewCuteyHoneyOp2.jpg theme=dark width=480 height=360] produces this:



The width and height default to 480 and 360 respectively, so if you're happy with that, you don't need to specify them. An extra 20 pixels is added to the total height for the player control bar. Two themes are currently available: dark, as shown above, and light, which is light grey with black buttons.

The image option specifies a placeholder image to be displayed until the user hits play. Or you can add an autostart option to, well, autostart. But that could get annoying - particularly if you have more than one video on the page...

Your file needs to be in FLV format at present (or SWF, but FLV is probably easier). There are a number of free tools that will convert AVI or MPEG files to FLV - Riva Encoder is one that I've tried that seems to work fairly well.

The [music] tag will display a simple player for MP3 files. The tag [music=/files/music/Eva-3-34.mp3] will produce:



You can specify a width and a theme just as with the video player.

Posted by: Pixy Misa at 03:48 AM | Comments (10) | Add Comment | Trackbacks (Suck)
Post contains 268 words, total size 3 kb.

<< Page 1 of 1 >>
42kb generated in CPU 0.0158, elapsed 0.1494 seconds.
51 queries taking 0.138 seconds, 200 records returned.
Powered by Minx 1.1.6c-pink.
Using http / http://ai.mee.nu / 198