Video

I am a newbie to Vaadin. Is there an easier way to plug in youtube video in my Vaadin application that uses Vaadin Version 7.0. I know there is a add-on for 6.x version but not supported for 7.0

http://demo.vaadin.com/sampler/#ui/data-presentation/flash

sample = new Flash(null, new ExternalResource(
http://www.youtube.com/v/KsvvF1zgMQM&hl=en_US&fs=1&”));
sample.setParameter(“allowFullScreen”, “true”);
sample.setWidth(320.0f, Unit.PIXELS);
sample.setHeight(265.0f, Unit.PIXELS);

Thank you, Thomas. I tried your code with your URL it works. The only difference in my code is the URL and fails. Am I missing anything here. Here is my example.

Flash fsh = new Flash(null, new ExternalResource(
			"http://www.youtube.com/watch?v=n77BfxnVlyc"));
	fsh.setParameter("allowFullScreen", "true");
	 fsh.setWidth("320px");
	 fsh.setHeight("265px");
	 return fsh;