yotube placeholder doesn't resize

Bug reports and enhancement requests
Post Reply
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

yotube placeholder doesn't resize

Post by al_9x »

Fx 3.5.6 & 2, NS 1.9.9.25

Go to any youtube video, make the player large and reload so it starts out large, now make it small, the placeholder is not resized and covers the page content
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: yotube placeholder doesn't resize

Post by therube »

So ...

Block Flash & set Apply to whitelisted sites too
Load page, http://www.youtube.com/watch?v=NXLP4HQo ... e=featured
By default small size
Click the <-> to enlarge
Refresh page (so that the enlarged looks correct)
Revert back to small
Placeholder overlays instead of reducing in size
Refresh page (& the placeholder then displays correctly)

Happens.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091206 SeaMonkey/2.0.1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: yotube placeholder doesn't resize

Post by Giorgio Maone »

There's no way for the placeholder to resize, since it's not the same object as the one the page is trying to script.
As therube pointed out, in this case you just need to reload, but there's no guarantee for the placeholder to behave exactly as the replaced object. All it does is a best effort to fill the same space the replaced object would initially have taken.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729)
Post Reply