From 6ecda9a8859a43572e21b6e66c487a716bc4d186 Mon Sep 17 00:00:00 2001 From: Jonatan Kronqvist Date: Mon, 12 Sep 2011 13:02:12 +0000 Subject: More fixes based on review of #6909 svn changeset:20967/svn branch:6.7 --- src/com/vaadin/terminal/gwt/client/ui/VAudio.java | 3 +++ src/com/vaadin/ui/Audio.java | 5 +++++ src/com/vaadin/ui/Video.java | 5 +++++ 3 files changed, 13 insertions(+) (limited to 'src') diff --git a/src/com/vaadin/terminal/gwt/client/ui/VAudio.java b/src/com/vaadin/terminal/gwt/client/ui/VAudio.java index 73162ea76d..8aadf1bb90 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VAudio.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VAudio.java @@ -25,6 +25,9 @@ public class VAudio extends VMediaBase { @Override public void updateFromUIDL(UIDL uidl, ApplicationConnection client) { + if (client.updateComponent(this, uidl, true)) { + return; + } super.updateFromUIDL(uidl, client); Style style = audio.getStyle(); diff --git a/src/com/vaadin/ui/Audio.java b/src/com/vaadin/ui/Audio.java index 8698ec52d2..322b0a720f 100644 --- a/src/com/vaadin/ui/Audio.java +++ b/src/com/vaadin/ui/Audio.java @@ -20,6 +20,11 @@ import com.vaadin.terminal.gwt.client.ui.VAudio; * "https://developer.mozilla.org/En/Using_audio_and_video_in_Firefox#Using_Flash" * >Mozilla Developer Network. * + * Multiple sources can be specified. Which of the sources is used is selected + * by the browser depending on which file formats it supports. See wikipedia for a + * table of formats supported by different browsers. + * * @author Vaadin Ltd * @since 6.7.0 */ diff --git a/src/com/vaadin/ui/Video.java b/src/com/vaadin/ui/Video.java index be17ae67ed..26d79a438f 100644 --- a/src/com/vaadin/ui/Video.java +++ b/src/com/vaadin/ui/Video.java @@ -22,6 +22,11 @@ import com.vaadin.terminal.gwt.client.ui.VVideo; * "https://developer.mozilla.org/En/Using_audio_and_video_in_Firefox#Using_Flash" * >Mozilla Developer Network. * + * Multiple sources can be specified. Which of the sources is used is selected + * by the browser depending on which file formats it supports. See wikipedia for a + * table of formats supported by different browsers. + * * @author Vaadin Ltd * @since 6.7.0 */ -- cgit v1.2.3