Flash Video Player for Mephisto

Posted by hank, Mon Aug 13 02:50:00 UTC 2007

So I made this awesome filter for Mephisto that allows you to easily embed flash videos in your post. May require tweaking if using a non-standard URL root.

It’s as simple as this:


<macro:flash>/assets/2007/8/13/party.flv</macro:flash>

Or, you can make it complicated:


<macro:flash width="640" height="480">/assets/2007/8/13/party.flv</macro:flash>

Which ends up like this:

Installation

Install it from your mephisto directory:


./script/plugin install -x https://modzer0.cs.uaf.edu/repos/hank/code/rails/mephisto/filtered_column_flash_video

Voila! Firebreathing!

Tags:

Comments

  • photo of Bug Bug
    August 25, 2007 @ 09:29 PM

    Nice. Would it be possible to generalize this to work with the JW Media player, in order to support different file types? (MP3s?)

  • photo of Bolo Bolo
    September 12, 2007 @ 02:06 PM

    Hello

    how we can set the width and heigh ?

    bolo

  • no avatar available for Hank Hank
    September 13, 2007 @ 12:24 AM

    Bolo

    Now it’s in the post. Thanks for asking for that example.

Have your say

A name is required. You may use Markdown in your comments.