Page 1 of 1

[RESOLVED] The placeholder??

Posted: Wed May 27, 2009 2:08 pm
by nagan
There is supposed to be a placeholder for the flash object ,as the NS context suggests..
http://movies.rediff.com/slide-show/200 ... otwork.htm

The flash screen however displays on clearing it thru context.

Not able to find that.. NS 1.9.3.3

Re: The placeholder??

Posted: Wed May 27, 2009 2:23 pm
by Giorgio Maone
The problem is the markup generating the movie:

Code: Select all

<OBJECT>    <embed src='http://ishare.rediff.com/images/player_ad_20090416.swf' FlashVars='videoURL=http://ishare.rediff.com/embedcodeplayer_config_REST.php?content_id=622973&x=3' name='aplayer' allowScriptAccess='always' allowFullScreen='true' type='application/x-shockwave-flash' height='322' width='400'></embed></OBJECT> 
As you can see, the wrapping OBJECT element has no attributes.
If an EMBED is wrapped inside an OBJECT, NoScript uses the outer OBJECT as a reference to build its placeholder, copying all its visual attributes.
This is usually the best thing to do, since most sites are coded to privilege OBJECT (which is standard and cross-browser) over EMBED (which is a Mozilla-specific extension).
In this case, though, using OBJECT as a reference fails because the placeholder collapses to 0 with and 0 height, since there's no visual attribute to copy.

I'll fix it in next dev build (1.9.3.5).

Re: The placeholder??

Posted: Thu May 28, 2009 10:41 am
by Giorgio Maone
Fixed in latest development build, 1.9.3.5