Opened 9 years ago

Last modified 7 years ago

#4820 confirmed New Feature

Flash properties dialog / info tab / option to require width and height be entered.

Reported by: Russ Tennant Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

It would be nice if the flash dialog could be configured to prompt for width and height if not specified. We have users that plug in the SWF file they get from a web designer and don't set the dimensions. They get confused when nothing shows up on the page.

Change History (3)

comment:1 Changed 7 years ago by Jakub Ś

Status: newconfirmed

According to - http://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html or http://code.google.com/p/swfobject/wiki/documentation, width and height attributes are required for both embed and object tag.

I think that besides making this properties required CKEditor should also find dimensions of swf elements, once theirs url is enterd (Just like in case of image tag).

comment:2 in reply to:  1 Changed 7 years ago by Alfonso Martínez de Lizarrondo

Replying to j.swiderski:

I think that besides making this properties required CKEditor should also find dimensions of swf elements, once theirs url is enterd (Just like in case of image tag).

As the bug report shows, the browsers don't assign any dimensions to flash objects by default, they don't try to read their intrinsec dimensions, so the only way to do it is to open the .swf and read the data, so the correct approach for this is a server call to request this info. (it could be interesting to try to do it in the client side with the new HTML5 & related features, but as it requires being able to decompress the data it can be a lot of js)

comment:3 Changed 7 years ago by Jakub Ś

Thanks for filling me in. I didn't know that.

Knowing that, current behaviour is the most valid and this feature if it will be fixed it will be some some some time in the future.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy