elemental.html.VideoElement Maven / Gradle / Ivy
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package elemental.html;
import elemental.events.*;
import elemental.util.*;
import elemental.dom.*;
import elemental.html.*;
import elemental.css.*;
import elemental.stylesheets.*;
import java.util.Date;
/**
* DOM video
objects expose the HTMLVideoElement interface, which provides special properties (beyond the regular element object and HTMLMediaElement interfaces they also have available to them by inheritance) for manipulating video objects.
*/
public interface VideoElement extends MediaElement {
/**
* Reflects the
height
HTML attribute, which specifies the height of the display area, in CSS pixels.
*/
int getHeight();
void setHeight(int arg);
/**
* Reflects the
poster
HTML attribute, which specifies an image to show while no video data is available.
*/
String getPoster();
void setPoster(String arg);
/**
* The intrinsic height of the resource in CSS pixels, taking into account the dimensions, aspect ratio, clean aperture, resolution, and so forth, as defined for the format used by the resource. If the element's ready state is HAVE_NOTHING, the value is 0.
*/
int getVideoHeight();
/**
* The intrinsic width of the resource in CSS pixels, taking into account the dimensions, aspect ratio, clean aperture, resolution, and so forth, as defined for the format used by the resource. If the element's ready state is HAVE_NOTHING, the value is 0.
*/
int getVideoWidth();
int getWebkitDecodedFrameCount();
boolean isWebkitDisplayingFullscreen();
int getWebkitDroppedFrameCount();
boolean isWebkitSupportsFullscreen();
/**
* Reflects the
width
HTML attribute, which specifies the width of the display area, in CSS pixels.
*/
int getWidth();
void setWidth(int arg);
void webkitEnterFullScreen();
void webkitEnterFullscreen();
void webkitExitFullScreen();
void webkitExitFullscreen();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy