Example usage for com.google.gwt.dom.client VideoElement pause

List of usage examples for com.google.gwt.dom.client VideoElement pause

Introduction

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

Prototype

public final native void pause() ;

Source Link

Document

Causes playback of the resource to be paused.

Usage

From source file:gwt.material.design.addins.client.camera.MaterialCameraCapture.java

License:Apache License

@Override
public void pause() {
    VideoElement el = video.getElement().cast();
    el.pause();
    onCameraCapturePause();
}

From source file:gwt.material.design.addins.client.ui.MaterialCameraCapture.java

License:Apache License

/**
 * Pauses the video stream from the camera.
 *//*from  ww  w  .  j a  v a2  s  .com*/
public void pause() {
    VideoElement el = getElement().cast();
    el.pause();
    onCameraCapturePause();
}