本文整理了Java中com.google.gwt.media.client.Video.getVideoElement()
方法的一些代码示例,展示了Video.getVideoElement()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Video.getVideoElement()
方法的具体详情如下:
包路径:com.google.gwt.media.client.Video
类名称:Video
方法名:getVideoElement
[英]Returns the attached VideoElement.
[中]返回附加的VideoElement。
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Returns a poster URL.
*
* @return a URL containing a poster image
*
* @see #setPoster(String)
*/
public String getPoster() {
return getVideoElement().getPoster();
}
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Gets the intrinsic height of video within the element.
*
* To get the element height, use {@link VideoElement#getOffsetHeight()}
*
* @return the height, in pixels
*/
public int getVideoHeight() {
return getVideoElement().getVideoHeight();
}
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Gets the instrinsic width of the video within the element.
*
* To get the element width, use {@link VideoElement#getOffsetWidth()}
*
* @return the width, in pixels
*/
public int getVideoWidth() {
return getVideoElement().getVideoWidth();
}
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Sets the poster URL.
*
* @param url the poster image URL
* @see #getPoster
*/
public void setPoster(String url) {
getVideoElement().setPoster(url);
}
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Returns a poster URL.
*
* @return a URL containing a poster image
*
* @see #setPoster(String)
*/
public String getPoster() {
return getVideoElement().getPoster();
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Gets the intrinsic height of video within the element.
*
* To get the element height, use {@link VideoElement#getOffsetHeight()}
*
* @return the height, in pixels
*/
public int getVideoHeight() {
return getVideoElement().getVideoHeight();
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Gets the intrinsic height of video within the element.
*
* To get the element height, use {@link VideoElement#getOffsetHeight()}
*
* @return the height, in pixels
*/
public int getVideoHeight() {
return getVideoElement().getVideoHeight();
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Gets the instrinsic width of the video within the element.
*
* To get the element width, use {@link VideoElement#getOffsetWidth()}
*
* @return the width, in pixels
*/
public int getVideoWidth() {
return getVideoElement().getVideoWidth();
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Sets the poster URL.
*
* @param url the poster image URL
* @see #getPoster
*/
public void setPoster(String url) {
getVideoElement().setPoster(url);
}
}
代码示例来源:origin: com.ahome-it/ahome-tooling-nativetools
public final void getUserMedia(final Video video, final UserMediaConfiguration configs, final UserMediaCallback mediacb)
{
getUserMedia(Objects.requireNonNull(video).getVideoElement(), Objects.requireNonNull(configs), Objects.requireNonNull(mediacb));
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Returns a poster URL.
*
* @return a URL containing a poster image
*
* @see #setPoster(String)
*/
public String getPoster() {
return getVideoElement().getPoster();
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Gets the instrinsic width of the video within the element.
*
* To get the element width, use {@link VideoElement#getOffsetWidth()}
*
* @return the width, in pixels
*/
public int getVideoWidth() {
return getVideoElement().getVideoWidth();
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Sets the poster URL.
*
* @param url the poster image URL
* @see #getPoster
*/
public void setPoster(String url) {
getVideoElement().setPoster(url);
}
}
代码示例来源:origin: com.ahome-it/ahome-tooling-nativetools
public final void getUserMedia(final Video video, final UserMediaCallback mediacb)
{
getUserMedia(Objects.requireNonNull(video).getVideoElement(), new UserMediaConfiguration(true, true), Objects.requireNonNull(mediacb));
}
代码示例来源:origin: ahome-it/lienzo-core
setErrorHandler(this, m_video.getVideoElement());
代码示例来源:origin: com.ahome-it/lienzo-core
setErrorHandler(this, m_video.getVideoElement());
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
setErrorHandler(this, m_video.getVideoElement());
代码示例来源:origin: ahome-it/lienzo-core
setErrorHandler(this, m_video.getVideoElement());
内容来源于网络,如有侵权,请联系作者删除!