Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * 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.html.*;
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.
  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();
  boolean isWebkitSupportsFullscreen();


  
Reflects the width  HTML attribute, which specifies the width of the display area, in CSS pixels.
  int getWidth();
  void setWidth(int arg);
New to GrepCode? Check out our FAQ X