Hi,
I need to play video in my application for this i am using flash player Eg,Which is given demo [url=http://demo.vaadin.com/sampler#FlashEmbed ]
[/url]. it s working only with youtube videos unable to work with Theme resource and Class resource videos please tell me the solution for this…
public FlashEmbedExample() {
Embedded e = new Embedded(null, new ExternalResource(
"http://www.youtube.com/v/meXvxkn1Y_8&hl=en_US&fs=1&"));
e.setMimeType("application/x-shockwave-flash");
e.setParameter("allowFullScreen", "true");
e.setWidth("320px");
e.setHeight("265px");
addComponent(e);
}