Flash Video Player for Mephisto

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!



Comments

  1. Bug

    August 13, 2007 at 2:50 AM

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


  2. Bolo

    August 13, 2007 at 2:50 AM

    Hello

    how we can set the width and heigh ?

    bolo


  3. Hank

    August 13, 2007 at 2:50 AM

    Bolo

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