Example usage for com.google.gwt.dom.client MediaElement PRELOAD_METADATA

List of usage examples for com.google.gwt.dom.client MediaElement PRELOAD_METADATA

Introduction

In this page you can find the example usage for com.google.gwt.dom.client MediaElement PRELOAD_METADATA.

Prototype

String PRELOAD_METADATA

To view the source code for com.google.gwt.dom.client MediaElement PRELOAD_METADATA.

Click Source Link

Document

Constant used by #getPreload() and #setPreload(String) .

Usage

From source file:annis.gui.widgets.gwt.client.ui.VMediaPlayerBase.java

License:Apache License

public VMediaPlayerBase(MediaElement media) {
    this.media = media;
    setElement(this.media);

    media.setControls(true);// w  w w .j  a v a  2 s.  c om
    media.setAutoplay(false);
    media.setPreload(MediaElement.PRELOAD_METADATA);
    media.setLoop(false);

}