Problem with embedding vimeo videos

Hello,

I have been trying to embed a vimeo video in the Embedded object in Vaadin but having problems. Youtube videos work fine. Please advise on how to do this - test application given here http://test-vaadin.appspot.com/ Both the youtube videos in the code sample below work perfectly fine.

	@Override
	public void init() {
		Window mainWindow = new Window("Testgae Application");

		HorizontalLayout hLayout = new HorizontalLayout();
		hLayout.setSizeFull();
		
		Embedded eYoutube = new Embedded(null, new ExternalResource("http://www.youtube.com/v/meXvxkn1Y_8"));
		eYoutube.setMimeType("application/x-shockwave-flash");
		eYoutube.setParameter("allowFullScreen", "true");
		eYoutube.setWidth("320px");
		eYoutube.setHeight("265px");
		hLayout.addComponent(eYoutube);
		
		Embedded eVimeo = new Embedded(null, new ExternalResource("http://player.vimeo.com/video/9470443"));
		eVimeo.setMimeType("application/x-shockwave-flash");
		eVimeo.setParameter("allowFullScreen", "true");
		eVimeo.setWidth("400px");
		eVimeo.setHeight("225px");
		hLayout.addComponent(eVimeo);
		
		Embedded eYoutube2 = new Embedded(null, new ExternalResource("http://www.youtube.com/v/meXvxkn1Y_8"));
		eYoutube2.setMimeType("application/x-shockwave-flash");
		eYoutube2.setParameter("allowFullScreen", "true");
		eYoutube2.setWidth("320px");
		eYoutube2.setHeight("265px");
		hLayout.addComponent(eYoutube2);
		
		mainWindow.setContent(hLayout);
		setMainWindow(mainWindow);
	}

Resolved. Posting here in case someone else gets stuck on this.

Needed to set the type for vimeo videos: eVimeo.setType(Embedded.TYPE_BROWSER);

Embedded eVimeo = new Embedded(null, new ExternalResource("http://player.vimeo.com/video/9470443"));
		eVimeo.setMimeType("application/x-shockwave-flash");
		eVimeo.setType(Embedded.TYPE_BROWSER);
		eVimeo.setParameter("allowFullScreen", "true");
		eVimeo.setWidth("400px");
		eVimeo.setHeight("225px");
		hLayout.addComponent(eVimeo);