Embedded - flash fullscreen demo doesn't work

Hi,

Anyone knows why the fullscreen button in the flash demo (embedded component) only works in firefox?

I’ve try with safari and chrome, but it is not working.


Demo

Thanks.

I found a little more about the problem, it happens that Webkit is a little more strict than other layout engines while validating a flash object. If you embed a YouTube video for example, the
type
attribute is required, so if it’s not present, the flash object wont work propperly.

It happens that when you code on Vaadin:

	Embed embed = new Embedded();
	embedded.setType(Embedded.TYPE_OBJECT);
	embedded.setMimeType("application/x-shockwave-flash");
	embedded.setSource(new ExternalResource("http://my.happy.video/video1"));

The html code rendered does not include the attribute:

	type="application/x-shockwave-flash"

And this causes the “full screen” option to fail on Webkit based browsers such as Safari or Chrome. Even the demo sampler is failing when you click the fullscreen button, as Joe says.

Is there a way to manually add that attribute or to do a clean workaround to solve this? Do the Vaadin team plan to solve this issue on a near version? (I’m using 6.4.9 released on January 12th)

Regards: Samuel Guzmán

Hi,

Thanks for the additional info, I updated the ticket about this issue (
#3911
) with the Webkit requirement.