]> source.dussan.org Git - vaadin-framework.git/commitdiff
More fixes based on review of #6909
authorJonatan Kronqvist <jonatan.kronqvist@itmill.com>
Mon, 12 Sep 2011 13:02:12 +0000 (13:02 +0000)
committerJonatan Kronqvist <jonatan.kronqvist@itmill.com>
Mon, 12 Sep 2011 13:02:12 +0000 (13:02 +0000)
svn changeset:20967/svn branch:6.7

src/com/vaadin/terminal/gwt/client/ui/VAudio.java
src/com/vaadin/ui/Audio.java
src/com/vaadin/ui/Video.java

index 73162ea76d432f613183c6d14d6607a0525ed704..8aadf1bb9044830392c367f4a74913bd2bf20108 100644 (file)
@@ -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();
 
index 8698ec52d2681a341fd250bc788a652510221a1f..322b0a720f645a313d77b39bb03ab7450293f7f1 100644 (file)
@@ -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</a>.
  * 
+ * Multiple sources can be specified. Which of the sources is used is selected
+ * by the browser depending on which file formats it supports. See <a
+ * href="http://en.wikipedia.org/wiki/HTML5_video#Table">wikipedia</a> for a
+ * table of formats supported by different browsers.
+ * 
  * @author Vaadin Ltd
  * @since 6.7.0
  */
index be17ae67ed72abb81474270dd81637283c33f7e9..26d79a438feb9ce4452d75824be37485cf9d2270 100644 (file)
@@ -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</a>.
  * 
+ * Multiple sources can be specified. Which of the sources is used is selected
+ * by the browser depending on which file formats it supports. See <a
+ * href="http://en.wikipedia.org/wiki/HTML5_video#Table">wikipedia</a> for a
+ * table of formats supported by different browsers.
+ * 
  * @author Vaadin Ltd
  * @since 6.7.0
  */