FlashField runs fine when populated.
However, I have a Video content type that offers FlashField as only one possible video field type.
When I do not wish to use the FlashField (it is not set as a required field) I get the above message, presumably from:

flashfield.module: 9:

define('FLASHFIELD_DEFAULT_HTML_ALT', 'You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialise correctly.');

Maybe you consider it a feature, however it seems to assume that only FlashField is being used.

Can I override it elegantly ? Glad for advice.

And thanks for FlashField, really useful module, well done.

Comments

math_1048’s picture

Hello
I get the same problem too!!!
please help
thnx

webel’s picture

bumping

webel’s picture

Removing the '!default' from the Substitution: area, to prevent triggering substitution:

flashfield.module:define('FLASHFIELD_DEFAULT_HTML_ALT', 'You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialise correctly.');
flashfield.render.inc:  $html_alt = t($flashnode['substitution'], array('!default' => FLASHFIELD_DEFAULT_HTML_ALT));

I then enabled Show substitution setting then removed the stored '!default' from previous videos, and still the default message showed on view.

webel’s picture

Even if I go directly into the database table for the CCK field and set the substitution to or the null string I still get:

You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialise correctly.

webel’s picture

A single space ' ' also still triggers the message, whereas any non white space string works as expected.