Package gwt.g2d.client.media

Examples of gwt.g2d.client.media.Video


  }

  @Override
  public void initialize() {
    add(new Label("This demo will not work at all under IE or Opera."));
    video = new Video("media/video.ogg");
    video.setControls(true);
    add(video);
    video.addPlayHandler(new PlayHandler() {
      @Override
      public void onPlay(PlayEvent event) {
View Full Code Here


  public void initialize() {
    add(new Label("This demo will not work at all under IE or Opera."));
    add(new HTML("Video obtained from: <a href=\""
        + "http://people.xiph.org/~maikmerten/demos/BigBuckBunny.ogv\">"
        + "http://people.xiph.org/~maikmerten/demos/BigBuckBunny.ogv</a>"));
    Video video = new Video("http://people.xiph.org/~maikmerten/demos/BigBuckBunny.ogv");
    video.setControls(true);
    video.setAutobuffer(true);
    add(video);
   
    add(new HTML("Music obtained from: <a href=\""
        + "http://www.vorbis.com/music/Epoq-Lepidoptera.ogg\">"
        + "http://www.vorbis.com/music/Epoq-Lepidoptera.ogg</a>"));
View Full Code Here

TOP

Related Classes of gwt.g2d.client.media.Video

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.