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.

1 Pixy, have you by any chance got my email yet?

Posted by: Kyer at Wednesday, April 02 2008 12:30 AM (i+d8H)

2 So are those embeds supposed to be showing up with ai.mee.xx URLS?

-j

Posted by: J Greely at Wednesday, April 02 2008 01:01 AM (2XtN5)

3 Kyer - Yes, got it.  Sorry, I was thinking about a solution to that problem, came up with something nice, and then forgot to get back to you.  I'll email you when I get home tonight.

Posted by: Pixy Misa at Wednesday, April 02 2008 01:32 PM (PiXy!)

4 J - Oops!  I use .xx, .yy and .zz as phony TLDs on my home network, so I can drop the whole mu.nu/mee.nu system on my development server and address it as mee.xx instead.  That doesn't work so well for anyone other than me...

Fixed now!

Posted by: Pixy Misa at Wednesday, April 02 2008 01:34 PM (PiXy!)

5

I am naoyuki noro. I need to be present.

Posted by: heisyuu at Thursday, April 03 2008 11:30 AM (/pnV1)

6 Shoo, Japanese spambots.  Shoo!

Posted by: Pixy Misa at Thursday, April 03 2008 12:32 PM (sOJGw)

7 I tell you, having my comments require people to be members and logged in certainly has reduced a lot of headaches. I haven't gotten a single spam.

Posted by: Steven Den Beste at Thursday, April 03 2008 06:37 PM (+rSRq)

8

An ipod spam managed to sneak by the filter over at my place not too long ago, so I "junked" the hell out of it.

I know "junk"ing them helps train the spam filter, but Pixy, how long should be keep those comments "junk"ed before we delete them outright?

Posted by: Will at Friday, April 04 2008 10:25 AM (WnBa/)

9 Junking doesn't actually train the filter yet. surprised ops:  The general idea is that it will train the filter and then purge them after 7 days (or something), but that doesn't work at the moment.

The way the filter trains at the moment is simpler - when we get something overwhelmingly spammy, or someone sticks their hands in the honeypot, it bans the URL and/or IP.  Decidedly unbayesian, but effective.

Posted by: Pixy Misa at Friday, April 04 2008 10:49 AM (sOJGw)

10

I am naoyuki noro. I need to be present.

 

Then you need to come to class and stop being a hikikimori then don't you?

Posted by: The Brickmuppet at Monday, April 07 2008 01:37 PM (V5zw/)

Hide Comments | Add Comment

Comments are disabled. Post is locked.
42kb generated in CPU 0.0341, elapsed 0.2558 seconds.
56 queries taking 0.2461 seconds, 198 records returned.
Powered by Minx 1.1.6c-pink.