[RESOLVED] The placeholder??

Ask for help about NoScript, no registration needed to post
nagan
Senior Member
Posts: 340
Joined: Thu Mar 26, 2009 11:05 am

[RESOLVED] The placeholder??

Post 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
Dreams are REAL possibilities. Pursue them with zest and you can make them HAPPEN!
You are GOD.Realize THAT!
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: The placeholder??

Post 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).
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: The placeholder??

Post by Giorgio Maone »

Fixed in latest development build, 1.9.3.5
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
Post Reply