Download & Extend

When FlashField not populated get: "You are missing some Flash content that should appear here!"

Project:FlashField
Version:6.x-0.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

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

#2

bumping

#3

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.

#4

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.

#5

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

nobody click here