I've made a patch for this module to support Macromedia Flash and Director. The problem is these formats accept parameters. Some videos and games must be inserted with these parameters. for example:

<PARAM NAME="param" VALUE="value01">

Should be implemented a valid way to manage params. I think that a way similar to the poll.module is a good one...perhaps.

Comments

fax8’s picture

If you have made the patch please post it here.

fax8’s picture

does anyone else think this is useful?

LukeLast’s picture

I think flash .swf support would be great, but I don't know enough about flash at the moment to come up with a patch.

kuba.zygmunt’s picture

What will be better?
10 or more rows with two fields ( name and value)

or textarea in where we put params within certain schema (each value in a new line)
param1 = value
param2 = value2

LukeLast’s picture

Assigned: Unassigned » LukeLast

OK, so I'm working on the .swf support.
So far I have a textarea that takes parameter data in the format:

param1=value1
param2=value2
param3=value3

This supports an almost unlimited number of parameters while using the smallest form space.

Here is what I have for the HTML. object and embed are misspelled to get past the filter.

<objct width="$node->videox" height="$node->videoy">
  <param name="movie" value="$node->vidfile" />
  <param name="custom_param1" value="custom_value1" />
  <param name="custom_param2" value="custom_value2" />
  <embd src="$node->vidfile" width="$node->videox" height="$node->videoy"></embd>
</objct>

Does this all look good to everyone? Any suggestions?

fax8’s picture

seems the a smart solution...

Fabio

Julien PHAM’s picture

Try to find a way without embed, as embed is not valid xhtml...

fax8’s picture

yes we know... if you are able with php/html you can provide a patch
for w3 compatibility and I will commit to the module.

fax8’s picture

Status: Active » Fixed

Feature completed in cvs.

Fabio

Anonymous’s picture

Status: Fixed » Closed (fixed)