Page 1 of 1

flashvars

PostPosted: Sat Mar 31, 2012 8:09 pm
by roedygr
Adobe Flash use an extension to embed called flashvars. IT in not in the official W3C liste.

HTML Validator does note like it.

Error in line 45 at character 478: The "flashvars" attribute is not valid for the "embed" element. Some valid attributes for this element are: "accesskey", "align", "allowfullscreen", "allowscriptaccess", "alt", "autoplay", "autostart", "base", "bgcolor", "border", "class", "contenteditable", "contextmenu", "controls", "dir", "draggable", "dropzone", "frameborder", "height", "hidden", "hidefocus", "hspace", "id", "lang", "logo", "loop", "menu", "name", "palette", "play", "pluginspage", "progress", "quality", "role", "scale", "song", "spellcheck", "src", "style", "swliveconnect", "swremote", "swstretchhalign", "swstretchstyle", "swstretchvalign", "tabindex", "title", "type", "units", "unselectable", "volume", "vspace", "width", "wmode", "xml:space", "on" attributes (like event handlers), "aria-*" attributes, and "item*" attributes.

It is quite commonly used.

However, I cannot suppress the error message in any way.

Re: flashvars

PostPosted: Mon Apr 02, 2012 10:28 am
by Albert Wiersch
Hello,

Thanks, I will look into adding/recognizing that attribute in v11.02.

You should be able to disable that message by bringing up the context menu for it (when displayed in CSE HTML Validator's Results Window) and choosing Message Options->Disable using Exact Text Match. Does this not work?

UPDATE: The "flashvars" attribute will now be ignored in "embed" start tags in v11.02.

Re: flashvars

PostPosted: Wed Apr 04, 2012 11:17 am
by roedygr
No. It does not give me the usual options to treat the message.

Re: flashvars

PostPosted: Wed Apr 04, 2012 11:40 am
by Albert Wiersch
roedygr wrote:No. It does not give me the usual options to treat the message.


That's strange. Are you using CSE's own editor? The disable option won't show in other 3rd party programs unless they've implemented it.

If the disable option is not working in CSE's own editor, then can you send me more information? Perhaps a sample document or screenshot.

NOTE: In CSE's editor, right-click on the message in the list view in the Results Window Message Tab to show the context menu for the message. Note that this won't work if you do it in the Message Window that shows the full text of the message.

In any case, I just released v11.02, which should ignore/accept this attribute.